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

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

Comments

phabricator - Dec. 7, 2017, 9:45 p.m.
phillco updated this revision to Diff 4204.

REPOSITORY
  rHG Mercurial

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

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

AFFECTED FILES
  mercurial/context.py

CHANGE DETAILS




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

Patch

diff --git a/mercurial/context.py b/mercurial/context.py
--- a/mercurial/context.py
+++ b/mercurial/context.py
@@ -2211,6 +2211,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.