##// END OF EJS Templates
basectx: move dirs from changectx
Sean Farley -
r19566:54817c77 default
parent child Browse files
Show More
@@ -142,6 +142,9 b' class basectx(object):'
142 def _dirs(self):
142 def _dirs(self):
143 return scmutil.dirs(self._manifest)
143 return scmutil.dirs(self._manifest)
144
144
145 def dirs(self):
146 return self._dirs
147
145 class changectx(basectx):
148 class changectx(basectx):
146 """A changecontext object makes access to data related to a particular
149 """A changecontext object makes access to data related to a particular
147 changeset convenient. It represents a read-only context already presnt in
150 changeset convenient. It represents a read-only context already presnt in
@@ -403,9 +406,6 b' class changectx(basectx):'
403 if match.bad(fn, _('no such file in rev %s') % self) and match(fn):
406 if match.bad(fn, _('no such file in rev %s') % self) and match(fn):
404 yield fn
407 yield fn
405
408
406 def dirs(self):
407 return self._dirs
408
409 def dirty(self):
409 def dirty(self):
410 return False
410 return False
411
411
General Comments 0
You need to be logged in to leave comments. Login now