Mercurial > hg
diff tests/test-glog.t @ 35684:1c929b4942a3
log: resolve --follow with -rREV in cmdutil.getlogrevs()
This also fixes alias expansion. Before, reverse() could be overridden by user
alias.
This isn't processed at _logrevs() as we'll need starting revisions to parse
file patterns. See the subsequent patches for details.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 10 Dec 2017 17:28:44 +0900 |
parents | ea3320015d54 |
children | 659dfbd852e2 |
line wrap: on
line diff
--- a/tests/test-glog.t Sun Dec 10 18:22:06 2017 +0900 +++ b/tests/test-glog.t Sun Dec 10 17:28:44 2017 +0900 @@ -2295,28 +2295,28 @@ -f +g $ testlog --follow -r6 -r8 -r5 -r7 -r4 - ['reverse(::(((6) or (8)) or ((5) or ((7) or (4)))))'] + ['6', '8', '5', '7', '4'] [] <generatorsetdesc-> Test --follow-first and forward --rev $ testlog --follow-first -r6 -r8 -r5 -r7 -r4 - ['reverse(_firstancestors((((6) or (8)) or ((5) or ((7) or (4))))))'] + ['6', '8', '5', '7', '4'] [] <generatorsetdesc-> Test --follow and backward --rev $ testlog --follow -r6 -r5 -r7 -r8 -r4 - ['reverse(::(((6) or (5)) or ((7) or ((8) or (4)))))'] + ['6', '5', '7', '8', '4'] [] <generatorsetdesc-> Test --follow-first and backward --rev $ testlog --follow-first -r6 -r5 -r7 -r8 -r4 - ['reverse(_firstancestors((((6) or (5)) or ((7) or ((8) or (4))))))'] + ['6', '5', '7', '8', '4'] [] <generatorsetdesc->