basectx: add missing, merge, and branch args to dirty method
authorSean Farley <sean.michael.farley@gmail.com>
Tue, 17 Jun 2014 20:26:51 -0700
changeset 22055 ba5fc3f81f15
parent 22054 ef0ee0c001bf
child 22056 83df50a8d61c
basectx: add missing, merge, and branch args to dirty method This fixes a discrepency for basectx and classes that inherit from it. Now callers can pass these arguments to any context without an exception being raised.
mercurial/context.py
--- a/mercurial/context.py	Fri Jul 25 20:11:47 2014 -0500
+++ b/mercurial/context.py	Tue Jun 17 20:26:51 2014 -0700
@@ -276,7 +276,7 @@
     def dirs(self):
         return self._dirs
 
-    def dirty(self):
+    def dirty(self, missing=False, merge=True, branch=True):
         return False
 
     def status(self, other=None, match=None, listignored=False,