Mercurial > hg
comparison tests/test-log.t @ 35301:d67bcfc0041f
revset: make follow() accept empty startrev
This is the same behavior as ancestors(emptyset).
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Thu, 22 Sep 2016 19:41:42 +0900 |
parents | d36eda8896cc |
children | 02fdb8c018aa |
comparison
equal
deleted
inserted
replaced
35300:d36eda8896cc | 35301:d67bcfc0041f |
---|---|
740 4: b2 | 740 4: b2 |
741 | 741 |
742 follow files starting from empty revision: | 742 follow files starting from empty revision: |
743 | 743 |
744 $ hg log -T '{rev}: {files}\n' -r "follow('glob:*', startrev=.-.)" | 744 $ hg log -T '{rev}: {files}\n' -r "follow('glob:*', startrev=.-.)" |
745 abort: follow expected at least one starting revision! | |
746 [255] | |
747 | 745 |
748 follow starting from revisions: | 746 follow starting from revisions: |
749 | 747 |
750 $ hg log -Gq -r "follow(startrev=2+4)" | 748 $ hg log -Gq -r "follow(startrev=2+4)" |
751 o 4:ddb82e70d1a1 | 749 o 4:ddb82e70d1a1 |