changeset 29707:a1082645d623

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.
author Augie Fackler <augie@google.com>
date Fri, 05 Aug 2016 13:00:33 -0400
parents 7f6130c7ffe1
children d1c3721d184c
files mercurial/cmdutil.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: