# HG changeset patch # User Sean Farley <s...@farley.io> # Date 1528775327 25200 # Mon Jun 11 20:48:47 2018 -0700 # Branch ctx-minor-fixes # Node ID c21a9a45b1a718d67d294fb822b58c7d6a2aa207 # Parent 03041a020368729345f9b72e6914122c5e88a302 context: fix typo in workingcommitctx
This was probably a copy pasta error in 745e3b485632. Refactoring memctx code exposed this bug. diff --git a/mercurial/context.py b/mercurial/context.py index 40267e7..f85f426 100644 --- a/mercurial/context.py +++ b/mercurial/context.py @@ -2130,11 +2130,11 @@ class workingcommitctx(workingctx): This hides changes in the working directory, if they aren't committed in this context. """ def __init__(self, repo, changes, text="", user=None, date=None, extra=None): - super(workingctx, self).__init__(repo, text, user, date, extra, + super(workingcommitctx, self).__init__(repo, text, user, date, extra, changes) def _dirstatestatus(self, match, ignored=False, clean=False, unknown=False): """Return matched files only in ``self._status`` _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel