changeset 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 a1082645d623
children b9ee2a1c4e9c
files mercurial/repair.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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()