tests/test-glog.t
branchstable
changeset 23500 9601229ed361
parent 22955 fab9dda0f2a3
child 23501 424d669118d3
equal deleted inserted replaced
23478:30b602168c3b 23500:9601229ed361
  1656 
  1656 
  1657   $ hg up -q '.^'
  1657   $ hg up -q '.^'
  1658   $ testlog -f dir
  1658   $ testlog -f dir
  1659   []
  1659   []
  1660   (group
  1660   (group
  1661     (func
  1661     (and
  1662       ('symbol', '_matchfiles')
  1662       (func
  1663       (list
  1663         ('symbol', '_matchfiles')
  1664         (list
  1664         (list
  1665           ('string', 'r:')
  1665           (list
  1666           ('string', 'd:relpath'))
  1666             ('string', 'r:')
  1667         ('string', 'p:dir'))))
  1667             ('string', 'd:relpath'))
       
  1668           ('string', 'p:dir')))
       
  1669       (func
       
  1670         ('symbol', 'ancestors')
       
  1671         ('symbol', '.'))))
  1668   $ hg up -q tip
  1672   $ hg up -q tip
  1669 
  1673 
  1670 Test --follow on file not in parent revision
  1674 Test --follow on file not in parent revision
  1671 
  1675 
  1672   $ testlog -f a
  1676   $ testlog -f a
  1677 Test --follow and patterns
  1681 Test --follow and patterns
  1678 
  1682 
  1679   $ testlog -f 'glob:*'
  1683   $ testlog -f 'glob:*'
  1680   []
  1684   []
  1681   (group
  1685   (group
  1682     (func
  1686     (and
  1683       ('symbol', '_matchfiles')
  1687       (func
  1684       (list
  1688         ('symbol', '_matchfiles')
  1685         (list
  1689         (list
  1686           ('string', 'r:')
  1690           (list
  1687           ('string', 'd:relpath'))
  1691             ('string', 'r:')
  1688         ('string', 'p:glob:*'))))
  1692             ('string', 'd:relpath'))
       
  1693           ('string', 'p:glob:*')))
       
  1694       (func
       
  1695         ('symbol', 'ancestors')
       
  1696         ('symbol', '.'))))
  1689 
  1697 
  1690 Test --follow on a single rename
  1698 Test --follow on a single rename
  1691 
  1699 
  1692   $ hg up -q 2
  1700   $ hg up -q 2
  1693   $ testlog -f a
  1701   $ testlog -f a
  1850           ('string', 'd:relpath'))
  1858           ('string', 'd:relpath'))
  1851         ('string', 'p:a'))))
  1859         ('string', 'p:a'))))
  1852   $ testlog --removed --follow a
  1860   $ testlog --removed --follow a
  1853   []
  1861   []
  1854   (group
  1862   (group
  1855     (func
  1863     (and
  1856       ('symbol', '_matchfiles')
  1864       (func
  1857       (list
  1865         ('symbol', '_matchfiles')
  1858         (list
  1866         (list
  1859           ('string', 'r:')
  1867           (list
  1860           ('string', 'd:relpath'))
  1868             ('string', 'r:')
  1861         ('string', 'p:a'))))
  1869             ('string', 'd:relpath'))
       
  1870           ('string', 'p:a')))
       
  1871       (func
       
  1872         ('symbol', 'ancestors')
       
  1873         ('symbol', '.'))))
  1862 
  1874 
  1863 Test --patch and --stat with --follow and --follow-first
  1875 Test --patch and --stat with --follow and --follow-first
  1864 
  1876 
  1865   $ hg up -q 3
  1877   $ hg up -q 3
  1866   $ hg log -G --git --patch b
  1878   $ hg log -G --git --patch b