Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/context.py @ 39727:6c8ceebce309
context: fix typo in workingcommitctx
This was probably a copy pasta error in 745e3b485632. Refactoring memctx
code exposed this bug.
author | Sean Farley <sean@farley.io> |
---|---|
date | Mon, 11 Jun 2018 20:48:47 -0700 |
parents | 7375a9ab0149 |
children | 15e86ecf6b26 |
comparison
equal
deleted
inserted
replaced
39726:7375a9ab0149 | 39727:6c8ceebce309 |
---|---|
2130 This hides changes in the working directory, if they aren't | 2130 This hides changes in the working directory, if they aren't |
2131 committed in this context. | 2131 committed in this context. |
2132 """ | 2132 """ |
2133 def __init__(self, repo, changes, | 2133 def __init__(self, repo, changes, |
2134 text="", user=None, date=None, extra=None): | 2134 text="", user=None, date=None, extra=None): |
2135 super(workingctx, self).__init__(repo, text, user, date, extra, | 2135 super(workingcommitctx, self).__init__(repo, text, user, date, extra, |
2136 changes) | 2136 changes) |
2137 | 2137 |
2138 def _dirstatestatus(self, match, ignored=False, clean=False, unknown=False): | 2138 def _dirstatestatus(self, match, ignored=False, clean=False, unknown=False): |
2139 """Return matched files only in ``self._status`` | 2139 """Return matched files only in ``self._status`` |
2140 | 2140 |
2141 Uncommitted files appear "clean" via this context, even if | 2141 Uncommitted files appear "clean" via this context, even if |