##// END OF EJS Templates
addbackup: use the vfs for the backup destination too...
Pierre-Yves David -
r23314:43f66ae5 default
parent child Browse files
Show More
@@ -208,7 +208,7 b' class transaction(object):'
208 vfs = self.opener
208 vfs = self.opener
209 if vfs.exists(file):
209 if vfs.exists(file):
210 filepath = vfs.join(file)
210 filepath = vfs.join(file)
211 backuppath = self.opener.join(backupfile)
211 backuppath = vfs.join(backupfile)
212 util.copyfiles(filepath, backuppath, hardlink=hardlink)
212 util.copyfiles(filepath, backuppath, hardlink=hardlink)
213 else:
213 else:
214 backupfile = ''
214 backupfile = ''
General Comments 0
You need to be logged in to leave comments. Login now