context: fix typo in workingcommitctx
authorSean Farley <sean@farley.io>
Mon, 11 Jun 2018 20:48:47 -0700
changeset 39727 6c8ceebce309
parent 39726 7375a9ab0149
child 39728 15e86ecf6b26
context: fix typo in workingcommitctx This was probably a copy pasta error in 745e3b485632. Refactoring memctx code exposed this bug.
mercurial/context.py
--- 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``