cmdutil: open dirlogs via manifest property, not via repo
authorAugie Fackler <augie@google.com>
Fri, 05 Aug 2016 13:00:33 -0400
changeset 29707 a1082645d623
parent 29706 7f6130c7ffe1
child 29708 d1c3721d184c
cmdutil: open dirlogs via manifest property, not via repo This was a convenience method that was rarely used, so let's get rid of it.
mercurial/cmdutil.py
--- a/mercurial/cmdutil.py	Fri Aug 05 16:34:30 2016 -0400
+++ b/mercurial/cmdutil.py	Fri Aug 05 13:00:33 2016 -0400
@@ -549,7 +549,7 @@
             if 'treemanifest' not in repo.requirements:
                 raise error.Abort(_("--dir can only be used on repos with "
                                    "treemanifest enabled"))
-            dirlog = repo.dirlog(dir)
+            dirlog = repo.manifest.dirlog(dir)
             if len(dirlog):
                 r = dirlog
         elif mf: