Mercurial > hg-stable
diff tests/test-diff-unified.t @ 23500:9601229ed361 stable
log: fix log -f slow path to actually follow history
The revset created when -f was used with a slow path (for patterns and
directories) did not actually contain any logic to enforce follow. Instead it
was depending on the passed in subset to already be limited (which was limited
to :. but not ::.). This fixes it by adding a '& ::.' to any -f log revset.
hg log -f <file> is still broken, in that it can return results that aren't
actually ancestors of the current file, but fixing that has major perf
implications, so we'll deal with it later.
author | Durham Goode <durham@fb.com> |
---|---|
date | Fri, 05 Dec 2014 14:27:32 -0800 |
parents | 6ef3107c661e |
children | d7abae94a7a0 |