##// END OF EJS Templates
context: move dirty() to committablectx...
Sean Farley -
r32610:bf728e72 default
parent child Browse files
Show More
@@ -323,9 +323,6 b' class basectx(object):'
323 def hasdir(self, dir):
323 def hasdir(self, dir):
324 return self._manifest.hasdir(dir)
324 return self._manifest.hasdir(dir)
325
325
326 def dirty(self, missing=False, merge=True, branch=True):
327 return False
328
329 def status(self, other=None, match=None, listignored=False,
326 def status(self, other=None, match=None, listignored=False,
330 listclean=False, listunknown=False, listsubrepos=False):
327 listclean=False, listunknown=False, listsubrepos=False):
331 """return status of files between two nodes or node and working
328 """return status of files between two nodes or node and working
@@ -1569,6 +1566,9 b' class committablectx(basectx):'
1569 # from immediately doing so for subsequent changing files
1566 # from immediately doing so for subsequent changing files
1570 self._repo.dirstate.write(self._repo.currenttransaction())
1567 self._repo.dirstate.write(self._repo.currenttransaction())
1571
1568
1569 def dirty(self, missing=False, merge=True, branch=True):
1570 return False
1571
1572 class workingctx(committablectx):
1572 class workingctx(committablectx):
1573 """A workingctx object makes access to data related to
1573 """A workingctx object makes access to data related to
1574 the current working directory convenient.
1574 the current working directory convenient.
General Comments 0
You need to be logged in to leave comments. Login now