Changeset 0c567535ab80…
Parent 79571b692322…
by
Changes to one file · Browse files at 0c567535ab80 Showing diff from parent 79571b692322 Diff from another changeset...
@@ -430,7 +430,8 @@ # backup continues
allchunks = []
for f in files:
- if f not in self.modified: continue
+ cf = util.pconvert(f)
+ if cf not in self.modified: continue
if f not in self.filechunks: continue
chunks = self.filechunks[f]
if len(chunks) < 2: continue
@@ -439,11 +440,11 @@ rejected = [c for c in chunks[1:] if not c.active]
if len(rejected) == 0: continue
allchunks.extend(chunks)
- fd, tmpname = tempfile.mkstemp(prefix=f.replace('/', '_')+'.',
+ fd, tmpname = tempfile.mkstemp(prefix=cf.replace('/', '_')+'.',
dir=backupdir)
os.close(fd)
- util.copyfile(repo.wjoin(f), tmpname)
- backups[f] = tmpname
+ util.copyfile(repo.wjoin(cf), tmpname)
+ backups[cf] = tmpname
fp = cStringIO.StringIO()
for n, c in enumerate(allchunks):
|
Loading...