--- a/mercurial/context.py Wed Aug 14 16:40:27 2013 -0500
+++ b/mercurial/context.py Wed Aug 14 16:40:34 2013 -0500
@@ -1059,6 +1059,9 @@
self._repo.dirstate.drop(f)
self._repo.dirstate.setparents(node)
+ def dirs(self):
+ return self._repo.dirstate.dirs()
+
class workingctx(commitablectx):
"""A workingctx object makes access to data related to
the current working directory convenient.
@@ -1185,9 +1188,6 @@
finally:
wlock.release()
- def dirs(self):
- return self._repo.dirstate.dirs()
-
class workingfilectx(basefilectx):
"""A workingfilectx object makes access to data related to a particular
file in the working directory convenient."""