changeset 39711: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
files mercurial/context.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/context.py	Tue Jul 17 17:16:22 2018 -0700
+++ b/mercurial/context.py	Mon Jun 11 20:48:47 2018 -0700
@@ -2132,8 +2132,8 @@
     """
     def __init__(self, repo, changes,
                  text="", user=None, date=None, extra=None):
-        super(workingctx, self).__init__(repo, text, user, date, extra,
-                                         changes)
+        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``