Mercurial > hg
comparison tests/test-dirstate-race.t @ 19290:f21f4a1b6c24
log: move log file walk to its own function
This moves the logic that determines which changesets to process during a
'hg log foo.txt' command. Putting it in its own function allows extensions
to modify how the file log is traversed. For instance, the current
implementation uses filelog revs heavily. Other implementations may not have
filelog revs available.
The function throws an exception if the traversal is not possible via the
filelog, so the parent function can do things the slow way if necessary
(by walking the entire commit history).
Aside from the exception throwing, no logic is changed.
author | Durham Goode <durham@fb.com> |
---|---|
date | Thu, 30 May 2013 19:25:55 -0700 |
parents | 28e2e3804f2e |
children | c850f0ed54c1 |
comparison
equal
deleted
inserted
replaced
19289:6ea1f858efd9 | 19290:f21f4a1b6c24 |
---|