##// END OF EJS Templates
revert: drop now useless conditional in the backup check...
Pierre-Yves David -
r22374:4509a16c default
parent child Browse files
Show More
@@ -2551,8 +2551,8 b' def revert(ui, repo, ctx, parents, *pats'
2551 continue
2551 continue
2552 if xlist is not None:
2552 if xlist is not None:
2553 xlist.append(abs)
2553 xlist.append(abs)
2554 if (dobackup and os.path.lexists(target) and
2554 if (dobackup and os.path.lexists(target)
2555 abs in ctx and repo[None][abs].cmp(ctx[abs])):
2555 and repo[None][abs].cmp(ctx[abs])):
2556 bakname = "%s.orig" % rel
2556 bakname = "%s.orig" % rel
2557 ui.note(_('saving current version of %s as %s\n') %
2557 ui.note(_('saving current version of %s as %s\n') %
2558 (rel, bakname))
2558 (rel, bakname))
General Comments 0
You need to be logged in to leave comments. Login now