Show More
@@ -118,7 +118,9 b' class changelog(revlog.revlog):' | |||
|
118 | 118 | self.opener = self._realopener |
|
119 | 119 | # move redirected index data back into place |
|
120 | 120 | if self._divert: |
|
121 |
n = self.opener(self.indexfile + ".a") |
|
|
121 | nfile = self.opener(self.indexfile + ".a") | |
|
122 | n = nfile.name | |
|
123 | nfile.close() | |
|
122 | 124 | util.rename(n, n[:-2]) |
|
123 | 125 | elif self._delaybuf: |
|
124 | 126 | fp = self.opener(self.indexfile, 'a') |
General Comments 0
You need to be logged in to leave comments.
Login now