##// 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 'follow_first': ('_followfirst()', None),
250 'follow_first': ('_followfirst()', None),
251 'no_merges': ('not merge()', None),
251 'no_merges': ('not merge()', None),
252 'only_merges': ('merge()', None),
252 'only_merges': ('merge()', None),
253 'removed': ('removes("*")', None),
254 'date': ('date(%(val)r)', None),
253 'date': ('date(%(val)r)', None),
255 'branch': ('branch(%(val)r)', ' or '),
254 'branch': ('branch(%(val)r)', ' or '),
256 '_patslog': ('filelog(%(val)r)', ' or '),
255 '_patslog': ('filelog(%(val)r)', ' or '),
@@ -1454,8 +1454,6 b' glog always reorders nodes which explain'
1454 ('group', ('group', ('or', ('or', ('func', ('symbol', 'branch'), ('string', 'default')), ('func', ('symbol', 'branch'), ('string', 'branch'))), ('func', ('symbol', 'branch'), ('string', 'branch')))))
1454 ('group', ('group', ('or', ('or', ('func', ('symbol', 'branch'), ('string', 'default')), ('func', ('symbol', 'branch'), ('string', 'branch'))), ('func', ('symbol', 'branch'), ('string', 'branch')))))
1455 $ testlog -k expand -k merge
1455 $ testlog -k expand -k merge
1456 ('group', ('group', ('or', ('func', ('symbol', 'keyword'), ('string', 'expand')), ('func', ('symbol', 'keyword'), ('string', 'merge')))))
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 $ testlog --only-merges
1457 $ testlog --only-merges
1460 ('group', ('func', ('symbol', 'merge'), None))
1458 ('group', ('func', ('symbol', 'merge'), None))
1461 $ testlog --no-merges
1459 $ testlog --no-merges
@@ -1646,3 +1644,14 b' Test "set:..." and parent revision'
1646 ('group', ('group', ('func', ('symbol', '_matchfiles'), ('list', ('string', 'r:'), ('string', 'i:set:copied()')))))
1644 ('group', ('group', ('func', ('symbol', '_matchfiles'), ('list', ('string', 'r:'), ('string', 'i:set:copied()')))))
1647 $ testlog -r "sort(file('set:copied()'), -rev)"
1645 $ testlog -r "sort(file('set:copied()'), -rev)"
1648 ('group', ('group', ('func', ('symbol', 'sort'), ('list', ('func', ('symbol', 'file'), ('string', 'set:copied()')), ('negate', ('symbol', 'rev'))))))
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