# HG changeset patch # User Sean Farley # Date 1375746116 18000 # Node ID 54817c774d38f57f9765bea1cd9e209c03fbfac4 # Parent bd1580a9c1336d495dcd07f3223f9787b4d8b19f basectx: move dirs from changectx diff -r bd1580a9c133 -r 54817c774d38 mercurial/context.py --- a/mercurial/context.py Mon Aug 05 18:41:43 2013 -0500 +++ b/mercurial/context.py Mon Aug 05 18:41:56 2013 -0500 @@ -142,6 +142,9 @@ def _dirs(self): return scmutil.dirs(self._manifest) + def dirs(self): + return self._dirs + class changectx(basectx): """A changecontext object makes access to data related to a particular changeset convenient. It represents a read-only context already presnt in @@ -403,9 +406,6 @@ if match.bad(fn, _('no such file in rev %s') % self) and match(fn): yield fn - def dirs(self): - return self._dirs - def dirty(self): return False