comparison mercurial/manifest.py @ 23758:399a8403cb54

manifest: drop withflags() method, which is now unused
author Augie Fackler <augie@google.com>
date Wed, 07 Jan 2015 15:55:02 -0500
parents 829f640b5540
children ed5e8a9598ce
comparison
equal deleted inserted replaced
23757:b5346480a490 23758:399a8403cb54
20 def __setitem__(self, k, v): 20 def __setitem__(self, k, v):
21 assert v is not None 21 assert v is not None
22 dict.__setitem__(self, k, v) 22 dict.__setitem__(self, k, v)
23 def flags(self, f): 23 def flags(self, f):
24 return self._flags.get(f, "") 24 return self._flags.get(f, "")
25 def withflags(self):
26 return set(self._flags.keys())
27 def setflag(self, f, flags): 25 def setflag(self, f, flags):
28 """Set the flags (symlink, executable) for path f.""" 26 """Set the flags (symlink, executable) for path f."""
29 self._flags[f] = flags 27 self._flags[f] = flags
30 def copy(self): 28 def copy(self):
31 return manifestdict(self, dict.copy(self._flags)) 29 return manifestdict(self, dict.copy(self._flags))