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) |
|
2554 | if (dobackup and os.path.lexists(target) | |
2555 |
|
|
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