Mercurial > hg-stable
diff tests/test-glog.t @ 24189:8b4b9ee6001a
log: make -fr show complete history from the given revs
Right now it's very obtuse to show the history of a particular rev (hg log -r
'reverse(::foo)'). This changes the -f option to make it follow history for the
revs specified by -r.
The current -f -r behavior is to limit the result of -r to only the
commits that are ancestors of the current working copy. Changing this
is a bit of a BC break, but the old behavior is A) rare, B) easy to
emulate (& ::.), and C) currently undefined. The new behavior is
frequently requested enough that I think the change is worth it.
author | Durham Goode <durham@fb.com> |
---|---|
date | Fri, 06 Feb 2015 11:04:55 -0800 |
parents | c260887cdbcd |
children | 8e1f1673aa9a |
line wrap: on
line diff
--- a/tests/test-glog.t Tue Feb 24 14:12:13 2015 +0100 +++ b/tests/test-glog.t Fri Feb 06 11:04:55 2015 -0800 @@ -2202,13 +2202,6 @@ (func ('symbol', 'rev') ('symbol', '6')))) - --- log.nodes * (glob) - +++ glog.nodes * (glob) - @@ -1,3 +1,3 @@ - -nodetag 6 - nodetag 8 - nodetag 7 - +nodetag 6 Test --follow-first and forward --rev