Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/localrepo.py @ 17996:b3af182a1944
clfilter: ensure that tag logic runs unfiltered
The current tag logic is not aware of filtering. We keep the status quo,
ensuring that the tag cache is computed as before: without any filtering.
author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
---|---|
date | Mon, 26 Nov 2012 19:26:24 +0100 |
parents | a5d85476da6e |
children | 6089956e9880 |
comparison
equal
deleted
inserted
replaced
17995:a5d85476da6e | 17996:b3af182a1944 |
---|---|
392 return 'file:' + self.root | 392 return 'file:' + self.root |
393 | 393 |
394 def hook(self, name, throw=False, **args): | 394 def hook(self, name, throw=False, **args): |
395 return hook.hook(self.ui, self, name, throw, **args) | 395 return hook.hook(self.ui, self, name, throw, **args) |
396 | 396 |
397 @unfilteredmeth | |
397 def _tag(self, names, node, message, local, user, date, extra={}): | 398 def _tag(self, names, node, message, local, user, date, extra={}): |
398 if isinstance(names, str): | 399 if isinstance(names, str): |
399 names = (names,) | 400 names = (names,) |
400 | 401 |
401 branches = self.branchmap() | 402 branches = self.branchmap() |