##// 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 self.tagscache = None
94 self.tagscache = None
95 self._tagstypecache = None
95 self._tagstypecache = None
96 self.branchcache = None
96 self.branchcache = None
97 self._ubranchcache = None # UTF-8 version of branchcache
97 self.nodetagscache = None
98 self.nodetagscache = None
98 self.filterpats = {}
99 self.filterpats = {}
99 self._datafilters = {}
100 self._datafilters = {}
@@ -365,6 +366,7 b' class localrepository(repo.repository):'
365 # charset internally
366 # charset internally
366 for k, v in partial.items():
367 for k, v in partial.items():
367 self.branchcache[util.tolocal(k)] = v
368 self.branchcache[util.tolocal(k)] = v
369 self._ubranchcache = partial
368 return self.branchcache
370 return self.branchcache
369
371
370 def _readbranchcache(self):
372 def _readbranchcache(self):
@@ -617,6 +619,7 b' class localrepository(repo.repository):'
617 self._tagstypecache = None
619 self._tagstypecache = None
618 self.nodetagscache = None
620 self.nodetagscache = None
619 self.branchcache = None
621 self.branchcache = None
622 self._ubranchcache = None
620
623
621 def _lock(self, lockname, wait, releasefn, acquirefn, desc):
624 def _lock(self, lockname, wait, releasefn, acquirefn, desc):
622 try:
625 try:
General Comments 0
You need to be logged in to leave comments. Login now