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