Show More
@@ -1987,7 +1987,7 b' def revert(ui, repo, ctx, parents, *pats' | |||||
1987 | xlist[0].append(abs) |
|
1987 | xlist[0].append(abs) | |
1988 | if (dobackup and not opts.get('no_backup') and |
|
1988 | if (dobackup and not opts.get('no_backup') and | |
1989 | os.path.lexists(target) and |
|
1989 | os.path.lexists(target) and | |
1990 | repo[None][abs].cmp(ctx[abs])): |
|
1990 | abs in ctx and repo[None][abs].cmp(ctx[abs])): | |
1991 | bakname = "%s.orig" % rel |
|
1991 | bakname = "%s.orig" % rel | |
1992 | ui.note(_('saving current version of %s as %s\n') % |
|
1992 | ui.note(_('saving current version of %s as %s\n') % | |
1993 | (rel, bakname)) |
|
1993 | (rel, bakname)) |
General Comments 0
You need to be logged in to leave comments.
Login now