tests/test-log.t
changeset 23729 07a6faf939dc
parent 23720 8ec03e0ef51a
child 23771 9f81f9e5b47a
equal deleted inserted replaced
23728:31d3f973d079 23729:07a6faf939dc
  1742      date:        Thu Jan 01 00:00:00 1970 +0000
  1742      date:        Thu Jan 01 00:00:00 1970 +0000
  1743      summary:     content1
  1743      summary:     content1
  1744   
  1744   
  1745 
  1745 
  1746   $ cd ..
  1746   $ cd ..
       
  1747 
       
  1748 Even when the file revision is missing from some head:
       
  1749 
       
  1750   $ hg init issue4490
       
  1751   $ cd issue4490
       
  1752   $ echo '[experimental]' >> .hg/hgrc
       
  1753   $ echo 'evolution=createmarkers' >> .hg/hgrc
       
  1754   $ echo a > a
       
  1755   $ hg ci -Am0
       
  1756   adding a
       
  1757   $ echo b > b
       
  1758   $ hg ci -Am1
       
  1759   adding b
       
  1760   $ echo B > b
       
  1761   $ hg ci --amend -m 1
       
  1762   $ hg up 0
       
  1763   0 files updated, 0 files merged, 1 files removed, 0 files unresolved
       
  1764   $ echo c > c
       
  1765   $ hg ci -Am2
       
  1766   adding c
       
  1767   created new head
       
  1768   $ hg up 'head() and not .'
       
  1769   1 files updated, 0 files merged, 1 files removed, 0 files unresolved
       
  1770   $ hg log -G
       
  1771   o  changeset:   4:db815d6d32e6
       
  1772   |  tag:         tip
       
  1773   |  parent:      0:f7b1eb17ad24
       
  1774   |  user:        test
       
  1775   |  date:        Thu Jan 01 00:00:00 1970 +0000
       
  1776   |  summary:     2
       
  1777   |
       
  1778   | @  changeset:   3:9bc8ce7f9356
       
  1779   |/   parent:      0:f7b1eb17ad24
       
  1780   |    user:        test
       
  1781   |    date:        Thu Jan 01 00:00:00 1970 +0000
       
  1782   |    summary:     1
       
  1783   |
       
  1784   o  changeset:   0:f7b1eb17ad24
       
  1785      user:        test
       
  1786      date:        Thu Jan 01 00:00:00 1970 +0000
       
  1787      summary:     0
       
  1788   
       
  1789   $ hg log -f -G b
       
  1790   @  changeset:   3:9bc8ce7f9356
       
  1791   |  parent:      0:f7b1eb17ad24
       
  1792   |  user:        test
       
  1793   |  date:        Thu Jan 01 00:00:00 1970 +0000
       
  1794   |  summary:     1
       
  1795   |
       
  1796   $ hg log -G b
       
  1797   @  changeset:   3:9bc8ce7f9356
       
  1798   |  parent:      0:f7b1eb17ad24
       
  1799   |  user:        test
       
  1800   |  date:        Thu Jan 01 00:00:00 1970 +0000
       
  1801   |  summary:     1
       
  1802   |