##// END OF EJS Templates
localrepo: keep the UTF-8 version of branchcache around
Alexis S. L. Carvalho -
r6119:b8919d40 default
parent child Browse files
Show More
@@ -94,6 +94,7 b' class localrepository(repo.repository):'
94 94 self.tagscache = None
95 95 self._tagstypecache = None
96 96 self.branchcache = None
97 self._ubranchcache = None # UTF-8 version of branchcache
97 98 self.nodetagscache = None
98 99 self.filterpats = {}
99 100 self._datafilters = {}
@@ -365,6 +366,7 b' class localrepository(repo.repository):'
365 366 # charset internally
366 367 for k, v in partial.items():
367 368 self.branchcache[util.tolocal(k)] = v
369 self._ubranchcache = partial
368 370 return self.branchcache
369 371
370 372 def _readbranchcache(self):
@@ -617,6 +619,7 b' class localrepository(repo.repository):'
617 619 self._tagstypecache = None
618 620 self.nodetagscache = None
619 621 self.branchcache = None
622 self._ubranchcache = None
620 623
621 624 def _lock(self, lockname, wait, releasefn, acquirefn, desc):
622 625 try:
General Comments 0
You need to be logged in to leave comments. Login now