Patchwork D1239: overlayworkingctx: add a no-op ``clearunknown()``

login
register
mail settings
Submitter phabricator
Date Dec. 7, 2017, 9:23 p.m.
Message ID <e809faa4fc3136b53f782830c0bf54ab@localhost.localdomain>
Download mbox | patch
Permalink /patch/26019/
State Not Applicable
Headers show

Comments

phabricator - Dec. 7, 2017, 9:23 p.m.
phillco updated this revision to Diff 4185.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1239?vs=3112&id=4185

REVISION DETAIL
  https://phab.mercurial-scm.org/D1239

AFFECTED FILES
  mercurial/context.py

CHANGE DETAILS




To: phillco, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/mercurial/context.py b/mercurial/context.py
--- a/mercurial/context.py
+++ b/mercurial/context.py
@@ -2247,6 +2247,9 @@ 
     def remove(self, ignoremissing=False):
         return self._parent.remove(self._path)
 
+    def clearunknown(self):
+        pass
+
 class workingcommitctx(workingctx):
     """A workingcommitctx object makes access to data related to
     the revision being committed convenient.