##// END OF EJS Templates
repair: directly use repo.vfs.join...
Pierre-Yves David -
r31324:e712a9c3 default
parent child Browse files
Show More
@@ -886,7 +886,7 b' def _upgraderepo(ui, srcrepo, dstrepo, r'
886 backupvfs = vfsmod.vfs(backuppath)
886 backupvfs = vfsmod.vfs(backuppath)
887
887
888 # Make a backup of requires file first, as it is the first to be modified.
888 # Make a backup of requires file first, as it is the first to be modified.
889 util.copyfile(srcrepo.join('requires'), backupvfs.join('requires'))
889 util.copyfile(srcrepo.vfs.join('requires'), backupvfs.join('requires'))
890
890
891 # We install an arbitrary requirement that clients must not support
891 # We install an arbitrary requirement that clients must not support
892 # as a mechanism to lock out new clients during the data swap. This is
892 # as a mechanism to lock out new clients during the data swap. This is
General Comments 0
You need to be logged in to leave comments. Login now