repair: build dirlogs using manifest, rather than repo shortcut method
authorAugie Fackler <augie@google.com>
Fri, 05 Aug 2016 13:01:01 -0400
changeset 29708 d1c3721d184c
parent 29707 a1082645d623
child 29709 b9ee2a1c4e9c
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.
mercurial/repair.py
--- 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()