Mercurial > hg
changeset 19511:ca2dfc2f63eb stable
revert: fix largefiles breakage
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Fri, 26 Jul 2013 21:03:25 -0500 |
parents | 8b190adb7ee3 |
children | f84036df71ad |
files | mercurial/cmdutil.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/cmdutil.py Fri Jul 26 17:08:05 2013 -0500 +++ b/mercurial/cmdutil.py Fri Jul 26 21:03:25 2013 -0500 @@ -1987,7 +1987,7 @@ xlist[0].append(abs) if (dobackup and not opts.get('no_backup') and os.path.lexists(target) and - repo[None][abs].cmp(ctx[abs])): + abs in ctx and repo[None][abs].cmp(ctx[abs])): bakname = "%s.orig" % rel ui.note(_('saving current version of %s as %s\n') % (rel, bakname))