Mercurial > hg-stable
diff mercurial/repair.py @ 29721:d1c3721d184c
repair: build dirlogs using manifest, rather than repo shortcut method
As before, this was rarely used, so let's get rid of the convenience method.
author | Augie Fackler <augie@google.com> |
---|---|
date | Fri, 05 Aug 2016 13:01:01 -0400 |
parents | 87c184c9bfef |
children | e7acbe538baf |
line wrap: on
line diff
--- a/mercurial/repair.py Fri Aug 05 13:00:33 2016 -0400 +++ b/mercurial/repair.py Fri Aug 05 13:01:01 2016 -0400 @@ -173,7 +173,7 @@ if (unencoded.startswith('meta/') and unencoded.endswith('00manifest.i')): dir = unencoded[5:-12] - repo.dirlog(dir).strip(striprev, tr) + repo.manifest.dirlog(dir).strip(striprev, tr) for fn in files: repo.file(fn).strip(striprev, tr) tr.endgroup()