Mercurial > public > mercurial-scm > hg-stable
diff hgext/mq.py @ 3826:b3b868113d24
fix encoding conversion of branch names when mq is loaded
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Thu, 07 Dec 2006 14:35:43 -0200 |
parents | 955475d237fc |
children | f6f16f871049 |
line wrap: on
line diff
--- a/hgext/mq.py Thu Dec 07 14:15:11 2006 -0200 +++ b/hgext/mq.py Thu Dec 07 14:35:43 2006 -0200 @@ -2043,13 +2043,10 @@ return tagscache - def branchtags(self): - if self.branchcache != None: - return self.branchcache - + def _branchtags(self): q = self.mq if not q.applied: - return super(mqrepo, self).branchtags() + return super(mqrepo, self)._branchtags() self.branchcache = {} # avoid recursion in changectx cl = self.changelog @@ -2069,8 +2066,7 @@ # update the cache up to the tip self._updatebranchcache(partial, start, cl.count()) - self.branchcache = partial - return self.branchcache + return partial if repo.local(): repo.__class__ = mqrepo