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

login
register
mail settings
Submitter Augie Fackler
Date Jan. 7, 2015, 9:10 p.m.
Message ID <684cc73a676f94311de3.1420665026@arthedain.pit.corp.google.com>
Download mbox | patch
Permalink /patch/7356/
State Accepted
Commit 399a8403cb54922a87f5811c6c54719de7335b00
Headers show

Comments

Augie Fackler - Jan. 7, 2015, 9:10 p.m.
# HG changeset patch
# User Augie Fackler <augie@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
Matt Mackall - Jan. 7, 2015, 10:22 p.m.
On Wed, 2015-01-07 at 16:10 -0500, Augie Fackler wrote:
> # HG changeset patch
> # User Augie Fackler <augie@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

These are queued for default, thanks.

Patch

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