Mercurial > evolve
comparison hgext/obsolete.py @ 73:c0143040693b
[obsolete] remove useless code.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Tue, 13 Sep 2011 21:40:37 +0200 |
parents | 774932a6cc0d |
children | c7dd26dec7fc |
comparison
equal
deleted
inserted
replaced
72:774932a6cc0d | 73:c0143040693b |
---|---|
249 self.changelog.hiddenrevs.add(repo[obj].rev()) | 249 self.changelog.hiddenrevs.add(repo[obj].rev()) |
250 except error.RepoLookupError: | 250 except error.RepoLookupError: |
251 pass #unknow revision (but keep propagating the data | 251 pass #unknow revision (but keep propagating the data |
252 self._writeobsrels() | 252 self._writeobsrels() |
253 | 253 |
254 ### Hidden revision support | |
255 @util.propertycache | |
256 def hiddenrevs(self): | |
257 # It's a property because It simpler that to handle the __init__ | |
258 revs = set() | |
259 return revs | |
260 | |
261 ### obsolete storage | 254 ### obsolete storage |
262 @util.propertycache | 255 @util.propertycache |
263 def _obsobjrels(self): | 256 def _obsobjrels(self): |
264 """{<old-node> -> set(<new-node>)} | 257 """{<old-node> -> set(<new-node>)} |
265 | 258 |