Comments
Patch
@@ -979,10 +979,13 @@
def deleted(self):
return self._status[3]
def unknown(self):
assert self._unknown is not None # must call status first
return self._unknown
+ def ignored(self):
+ assert self._ignored is not None # must call status first
+ return self._ignored
class workingctx(commitablectx):
"""A workingctx object makes access to data related to
the current working directory convenient.
date - any valid date string or (unixtime, offset), or None.
@@ -1006,13 +1009,10 @@
p = self._repo.dirstate.parents()
if p[1] == nullid:
p = p[:-1]
return [changectx(self._repo, x) for x in p]
- def ignored(self):
- assert self._ignored is not None # must call status first
- return self._ignored
def clean(self):
assert self._clean is not None # must call status first
return self._clean
def branch(self):
return encoding.tolocal(self._extra['branch'])