##// END OF EJS Templates
transaction: backup file in a dedicated "namespace"...
Pierre-Yves David -
r22077:2990ce46 default
parent child Browse files
Show More
@@ -154,7 +154,7 b' class transaction(object):'
154
154
155 if file in self.map or file in self.backupmap:
155 if file in self.map or file in self.backupmap:
156 return
156 return
157 backupfile = "%s.%s" % (self.journal, file)
157 backupfile = "%s.backup.%s" % (self.journal, file)
158 if self.opener.exists(file):
158 if self.opener.exists(file):
159 filepath = self.opener.join(file)
159 filepath = self.opener.join(file)
160 backuppath = self.opener.join(backupfile)
160 backuppath = self.opener.join(backupfile)
General Comments 0
You need to be logged in to leave comments. Login now