author | Martin Geisler <mg@lazybytes.net> |
Wed, 25 Aug 2010 16:40:49 +0200 | |
changeset 12033 | 41def6704d01 |
parent 12032 | ad787252fed6 |
child 12034 | 3bfd425f1472 |
--- a/mercurial/commands.py Wed Aug 25 16:23:32 2010 +0200 +++ b/mercurial/commands.py Wed Aug 25 16:40:49 2010 +0200 @@ -3166,7 +3166,8 @@ target = repo.wjoin(abs) def handle(xlist, dobackup): xlist[0].append(abs) - if dobackup and not opts.get('no_backup') and os.path.lexists(target): + if (dobackup and not opts.get('no_backup') and + os.path.lexists(target)): bakname = "%s.orig" % rel ui.note(_('saving current version of %s as %s\n') % (rel, bakname))