# HG changeset patch # User Alexis S. L. Carvalho # Date 1203098796 7200 # Node ID b8919d401313ad5a78bce0aa4e761b987afbb3b9 # Parent b69a39ab47454516437ec4b6b9f285c86a2b528e localrepo: keep the UTF-8 version of branchcache around diff -r b69a39ab4745 -r b8919d401313 mercurial/localrepo.py --- 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: