##// END OF EJS Templates
graphlog: fix --removed...
Patrick Mezard -
r16184:6863caf0 default
parent child Browse files
Show More
@@ -250,7 +250,6 b' def revset(repo, pats, opts):'
250 250 'follow_first': ('_followfirst()', None),
251 251 'no_merges': ('not merge()', None),
252 252 'only_merges': ('merge()', None),
253 'removed': ('removes("*")', None),
254 253 'date': ('date(%(val)r)', None),
255 254 'branch': ('branch(%(val)r)', ' or '),
256 255 '_patslog': ('filelog(%(val)r)', ' or '),
@@ -1454,8 +1454,6 b' glog always reorders nodes which explain'
1454 1454 ('group', ('group', ('or', ('or', ('func', ('symbol', 'branch'), ('string', 'default')), ('func', ('symbol', 'branch'), ('string', 'branch'))), ('func', ('symbol', 'branch'), ('string', 'branch')))))
1455 1455 $ testlog -k expand -k merge
1456 1456 ('group', ('group', ('or', ('func', ('symbol', 'keyword'), ('string', 'expand')), ('func', ('symbol', 'keyword'), ('string', 'merge')))))
1457 $ hg log -G --removed --template 'nodetag {rev}\n' | grep nodetag | wc -l
1458 \s*0 (re)
1459 1457 $ testlog --only-merges
1460 1458 ('group', ('func', ('symbol', 'merge'), None))
1461 1459 $ testlog --no-merges
@@ -1646,3 +1644,14 b' Test "set:..." and parent revision'
1646 1644 ('group', ('group', ('func', ('symbol', '_matchfiles'), ('list', ('string', 'r:'), ('string', 'i:set:copied()')))))
1647 1645 $ testlog -r "sort(file('set:copied()'), -rev)"
1648 1646 ('group', ('group', ('func', ('symbol', 'sort'), ('list', ('func', ('symbol', 'file'), ('string', 'set:copied()')), ('negate', ('symbol', 'rev'))))))
1647
1648 Test --removed
1649
1650 $ testlog --removed
1651 ('func', ('symbol', 'all'), None)
1652 $ testlog --removed a
1653 ('group', ('group', ('func', ('symbol', '_matchfiles'), ('list', ('string', 'r:'), ('string', 'p:a')))))
1654 $ testlog --removed --follow a
1655 abort: can only follow copies/renames for explicit filenames
1656 abort: can only follow copies/renames for explicit filenames
1657 abort: can only follow copies/renames for explicit filenames
General Comments 0
You need to be logged in to leave comments. Login now