##// END OF EJS Templates
basectx: move dirty from changectx
Sean Farley -
r19567:49b128e5 default
parent child Browse files
Show More
@@ -145,6 +145,9 class basectx(object):
145 def dirs(self):
145 def dirs(self):
146 return self._dirs
146 return self._dirs
147
147
148 def dirty(self):
149 return False
150
148 class changectx(basectx):
151 class changectx(basectx):
149 """A changecontext object makes access to data related to a particular
152 """A changecontext object makes access to data related to a particular
150 changeset convenient. It represents a read-only context already presnt in
153 changeset convenient. It represents a read-only context already presnt in
@@ -406,9 +409,6 class changectx(basectx):
406 if match.bad(fn, _('no such file in rev %s') % self) and match(fn):
409 if match.bad(fn, _('no such file in rev %s') % self) and match(fn):
407 yield fn
410 yield fn
408
411
409 def dirty(self):
410 return False
411
412 class filectx(object):
412 class filectx(object):
413 """A filecontext object makes access to data related to a particular
413 """A filecontext object makes access to data related to a particular
414 filerevision convenient."""
414 filerevision convenient."""
General Comments 0
You need to be logged in to leave comments. Login now