Show More
@@ -461,6 +461,8 b' class revbranchcache(object):' | |||||
461 | self._rbcnamescount = 0 |
|
461 | self._rbcnamescount = 0 | |
462 | self._rbcrevslen = 0 |
|
462 | self._rbcrevslen = 0 | |
463 | if self._rbcnamescount == 0: |
|
463 | if self._rbcnamescount == 0: | |
|
464 | # before rewriting names, make sure references are removed | |||
|
465 | repo.vfs.unlinkpath(_rbcrevs, ignoremissing=True) | |||
464 | f = repo.vfs.open(_rbcnames, 'wb') |
|
466 | f = repo.vfs.open(_rbcnames, 'wb') | |
465 | f.write('\0'.join(encoding.fromlocal(b) |
|
467 | f.write('\0'.join(encoding.fromlocal(b) | |
466 | for b in self._names[self._rbcnamescount:])) |
|
468 | for b in self._names[self._rbcnamescount:])) |
General Comments 0
You need to be logged in to leave comments.
Login now