Mercurial > hg
changeset 6119:b8919d401313
localrepo: keep the UTF-8 version of branchcache around
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Fri, 15 Feb 2008 16:06:36 -0200 |
parents | b69a39ab4745 |
children | f89878df40fe |
files | mercurial/localrepo.py |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/localrepo.py Fri Feb 15 16:06:36 2008 -0200 +++ b/mercurial/localrepo.py Fri Feb 15 16:06:36 2008 -0200 @@ -94,6 +94,7 @@ self.tagscache = None self._tagstypecache = None self.branchcache = None + self._ubranchcache = None # UTF-8 version of branchcache self.nodetagscache = None self.filterpats = {} self._datafilters = {} @@ -365,6 +366,7 @@ # charset internally for k, v in partial.items(): self.branchcache[util.tolocal(k)] = v + self._ubranchcache = partial return self.branchcache def _readbranchcache(self): @@ -617,6 +619,7 @@ self._tagstypecache = None self.nodetagscache = None self.branchcache = None + self._ubranchcache = None def _lock(self, lockname, wait, releasefn, acquirefn, desc): try: