Mercurial > public > mercurial-scm > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
22054:ef0ee0c001bf | 22055:ba5fc3f81f15 |
---|---|
274 return scmutil.dirs(self._manifest) | 274 return scmutil.dirs(self._manifest) |
275 | 275 |
276 def dirs(self): | 276 def dirs(self): |
277 return self._dirs | 277 return self._dirs |
278 | 278 |
279 def dirty(self): | 279 def dirty(self, missing=False, merge=True, branch=True): |
280 return False | 280 return False |
281 | 281 |
282 def status(self, other=None, match=None, listignored=False, | 282 def status(self, other=None, match=None, listignored=False, |
283 listclean=False, listunknown=False, listsubrepos=False): | 283 listclean=False, listunknown=False, listsubrepos=False): |
284 """return status of files between two nodes or node and working | 284 """return status of files between two nodes or node and working |