mercurial/cmdutil.py
changeset 22398 402e5fba6509
parent 22397 1db04829bdc1
child 22405 6f63c47cbb86
--- a/mercurial/cmdutil.py	Sat Aug 30 02:09:53 2014 +0200
+++ b/mercurial/cmdutil.py	Sat Aug 30 02:10:29 2014 +0200
@@ -2576,8 +2576,7 @@
                     continue
                 if xlist is not None:
                     xlist.append(abs)
-                    if (dobackup and os.path.lexists(target)
-                        and wctx[abs].cmp(ctx[abs])):
+                    if (dobackup and wctx[abs].cmp(ctx[abs])):
                         bakname = "%s.orig" % rel
                         ui.note(_('saving current version of %s as %s\n') %
                                 (rel, bakname))