Mercurial > hg
changeset 3386:55476ce8e59c
Use manifest rev instead of changelog rev for linear manifest test
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Fri, 13 Oct 2006 11:17:17 -0700 |
parents | 9e834d039681 |
children | 2065789f6a3e |
files | mercurial/commands.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Fri Oct 13 19:35:08 2006 +0200 +++ b/mercurial/commands.py Fri Oct 13 11:17:17 2006 -0700 @@ -1840,7 +1840,8 @@ break if rev in rcache[fn]: return rcache[fn][rev] - if repo.manifest.parentrevs(rev) != (rev - 1, -1): + mr = repo.manifest.rev(man) + if repo.manifest.parentrevs(mr) != (mr - 1, -1): return ncache[fn].get(repo.manifest.find(man, fn)[0]) if not dcache or dcache[0] != man: dcache[:] = [man, repo.manifest.readdelta(man)]