[PATCH 4 of 4 status-via-diff] manifest: drop withflags() method, which is now unused

Augie Fackler raf at durin42.com
Wed Jan 7 15:10:26 CST 2015


# HG changeset patch
# User Augie Fackler <augie at google.com>
# Date 1420664102 18000
#      Wed Jan 07 15:55:02 2015 -0500
# Node ID 684cc73a676f94311de30b2d7c3019b0a8265fe0
# Parent  99e32de01320401b28d66ad804a9de8b89c02eef
manifest: drop withflags() method, which is now unused

diff --git a/mercurial/manifest.py b/mercurial/manifest.py
--- a/mercurial/manifest.py
+++ b/mercurial/manifest.py
@@ -22,8 +22,6 @@ class manifestdict(dict):
         dict.__setitem__(self, k, v)
     def flags(self, f):
         return self._flags.get(f, "")
-    def withflags(self):
-        return set(self._flags.keys())
     def setflag(self, f, flags):
         """Set the flags (symlink, executable) for path f."""
         self._flags[f] = flags


More information about the Mercurial-devel mailing list