diff mercurial/context.py @ 22055:ba5fc3f81f15

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.
author Sean Farley <sean.michael.farley@gmail.com>
date Tue, 17 Jun 2014 20:26:51 -0700
parents ef0ee0c001bf
children 443ef664fb55
line wrap: on
line diff
--- 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,