##// END OF EJS Templates
revert: drop `lexist` check in the backup logic...
Pierre-Yves David -
r22398:402e5fba default
parent child Browse files
Show More
@@ -2576,8 +2576,7 b' def revert(ui, repo, ctx, parents, *pats'
2576 2576 continue
2577 2577 if xlist is not None:
2578 2578 xlist.append(abs)
2579 if (dobackup and os.path.lexists(target)
2580 and wctx[abs].cmp(ctx[abs])):
2579 if (dobackup and wctx[abs].cmp(ctx[abs])):
2581 2580 bakname = "%s.orig" % rel
2582 2581 ui.note(_('saving current version of %s as %s\n') %
2583 2582 (rel, bakname))
General Comments 0
You need to be logged in to leave comments. Login now