Show More
@@ -2256,7 +2256,8 b' def revert(ui, repo, *pats, **opts):' | |||
|
2256 | 2256 | def handle(xlist, dobackup): |
|
2257 | 2257 | xlist[0].append(abs) |
|
2258 | 2258 | update[abs] = 1 |
|
2259 |
if dobackup and not opts['no_backup'] and |
|
|
2259 | if (dobackup and not opts['no_backup'] and | |
|
2260 | (os.path.islink(rel) or os.path.exists(rel))): | |
|
2260 | 2261 | bakname = "%s.orig" % rel |
|
2261 | 2262 | ui.note(_('saving current version of %s as %s\n') % |
|
2262 | 2263 | (rel, bakname)) |
General Comments 0
You need to be logged in to leave comments.
Login now