mercurial/cmdutil.py
changeset 30371 fccc3eea2ddb
parent 30340 608ba935e041
child 30375 11b8b740d54a
--- a/mercurial/cmdutil.py	Thu Nov 10 02:13:19 2016 -0800
+++ b/mercurial/cmdutil.py	Thu Nov 10 02:13:19 2016 -0800
@@ -555,7 +555,7 @@
             if 'treemanifest' not in repo.requirements:
                 raise error.Abort(_("--dir can only be used on repos with "
                                    "treemanifest enabled"))
-            dirlog = repo.manifest.dirlog(dir)
+            dirlog = repo.manifestlog._revlog.dirlog(dir)
             if len(dirlog):
                 r = dirlog
         elif mf: