1494 self._repo.ui.warn('%s: %s\n' % |
1494 self._repo.ui.warn('%s: %s\n' % |
1495 (self._repo.dirstate.pathto(f), msg)) |
1495 (self._repo.dirstate.pathto(f), msg)) |
1496 match.bad = bad |
1496 match.bad = bad |
1497 return match |
1497 return match |
1498 |
1498 |
1499 def status(self, other='.', match=None, listignored=False, |
|
1500 listclean=False, listunknown=False, listsubrepos=False): |
|
1501 # yet to be determined: what to do if 'other' is a 'workingctx' or a |
|
1502 # 'memctx'? |
|
1503 return super(workingctx, self).status(other, match, listignored, |
|
1504 listclean, listunknown, |
|
1505 listsubrepos) |
|
1506 |
|
1507 class committablefilectx(basefilectx): |
1499 class committablefilectx(basefilectx): |
1508 """A committablefilectx provides common functionality for a file context |
1500 """A committablefilectx provides common functionality for a file context |
1509 that wants the ability to commit, e.g. workingfilectx or memfilectx.""" |
1501 that wants the ability to commit, e.g. workingfilectx or memfilectx.""" |
1510 def __init__(self, repo, path, filelog=None, ctx=None): |
1502 def __init__(self, repo, path, filelog=None, ctx=None): |
1511 self._repo = repo |
1503 self._repo = repo |