changeset 12033:41def6704d01

revert: wrap long line
author Martin Geisler <mg@lazybytes.net>
date Wed, 25 Aug 2010 16:40:49 +0200
parents ad787252fed6
children 3bfd425f1472
files mercurial/commands.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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))