##// END OF EJS Templates
transaction: really fix _addbackupentry key usage (issue4684)...
Pierre-Yves David -
r25294:b1b89a0a stable
parent child Browse files
Show More
@@ -222,7 +222,7 b' class transaction(object):'
222 222 def _addbackupentry(self, entry):
223 223 """register a new backup entry and write it to disk"""
224 224 self._backupentries.append(entry)
225 self._backupmap[entry] = len(self._backupentries) - 1
225 self._backupmap[entry[1]] = len(self._backupentries) - 1
226 226 self._backupsfile.write("%s\0%s\0%s\0%d\n" % entry)
227 227 self._backupsfile.flush()
228 228
General Comments 0
You need to be logged in to leave comments. Login now