Mercurial > hg
comparison tests/test-glog.t @ 16157:4a828d3bc04a
graphlog: --branch and --only-branch are the same
Handling the aliasing in fancyopts would be cleaner but I do not want to make
this change for stable.
author | Patrick Mezard <patrick@mezard.eu> |
---|---|
date | Thu, 23 Feb 2012 11:21:04 +0100 |
parents | 0424f3c7d7ac |
children | e04cc21b01b2 |
comparison
equal
deleted
inserted
replaced
16152:816211dfa3a5 | 16157:4a828d3bc04a |
---|---|
1431 ('group', ('group', ('or', ('func', ('symbol', 'user'), ('string', 'test')), ('func', ('symbol', 'user'), ('string', 'not-a-user'))))) | 1431 ('group', ('group', ('or', ('func', ('symbol', 'user'), ('string', 'test')), ('func', ('symbol', 'user'), ('string', 'not-a-user'))))) |
1432 $ testlog -b not-a-branch | 1432 $ testlog -b not-a-branch |
1433 ('group', ('group', ('func', ('symbol', 'branch'), ('string', 'not-a-branch')))) | 1433 ('group', ('group', ('func', ('symbol', 'branch'), ('string', 'not-a-branch')))) |
1434 abort: unknown revision 'not-a-branch'! | 1434 abort: unknown revision 'not-a-branch'! |
1435 abort: unknown revision 'not-a-branch'! | 1435 abort: unknown revision 'not-a-branch'! |
1436 $ testlog -b default -b branch | 1436 $ testlog -b default -b branch --only-branch branch |
1437 ('group', ('group', ('or', ('func', ('symbol', 'branch'), ('string', 'default')), ('func', ('symbol', 'branch'), ('string', 'branch'))))) | 1437 ('group', ('group', ('or', ('or', ('func', ('symbol', 'branch'), ('string', 'default')), ('func', ('symbol', 'branch'), ('string', 'branch'))), ('func', ('symbol', 'branch'), ('string', 'branch'))))) |
1438 $ testlog -k expand -k merge | 1438 $ testlog -k expand -k merge |
1439 ('group', ('group', ('or', ('func', ('symbol', 'keyword'), ('string', 'expand')), ('func', ('symbol', 'keyword'), ('string', 'merge'))))) | 1439 ('group', ('group', ('or', ('func', ('symbol', 'keyword'), ('string', 'expand')), ('func', ('symbol', 'keyword'), ('string', 'merge'))))) |
1440 $ hg log -G --only-branch 'something nice' | |
1441 abort: unknown revision 'something nice'! | |
1442 [255] | |
1443 $ hg log -G --include 'some file' --exclude 'another file' | 1440 $ hg log -G --include 'some file' --exclude 'another file' |
1444 $ hg log -G --follow --template 'nodetag {rev}\n' | grep nodetag | wc -l | 1441 $ hg log -G --follow --template 'nodetag {rev}\n' | grep nodetag | wc -l |
1445 \s*36 (re) | 1442 \s*36 (re) |
1446 $ hg log -G --removed --template 'nodetag {rev}\n' | grep nodetag | wc -l | 1443 $ hg log -G --removed --template 'nodetag {rev}\n' | grep nodetag | wc -l |
1447 \s*0 (re) | 1444 \s*0 (re) |