changeset 22374 | 4509a16c76c2 |
parent 22373 | f6a1386d540e |
child 22386 | 54e614a297ac |
--- a/mercurial/cmdutil.py Sat Aug 30 01:49:28 2014 +0200 +++ b/mercurial/cmdutil.py Sat Aug 30 01:51:02 2014 +0200 @@ -2551,8 +2551,8 @@ continue if xlist is not None: xlist.append(abs) - if (dobackup and os.path.lexists(target) and - abs in ctx and repo[None][abs].cmp(ctx[abs])): + if (dobackup and os.path.lexists(target) + and repo[None][abs].cmp(ctx[abs])): bakname = "%s.orig" % rel ui.note(_('saving current version of %s as %s\n') % (rel, bakname))