hgext/record.py
changeset 13075 d73c3034deee
parent 13023 3e2281b85990
child 13099 a08b49d2f116
--- a/hgext/record.py	Fri Dec 03 11:23:38 2010 +0100
+++ b/hgext/record.py	Fri Dec 03 11:30:45 2010 +0100
@@ -344,10 +344,10 @@
             # new hunk
             if resp_file[0] is None and resp_all[0] is None:
                 chunk.pretty(ui)
-            r = total == 1 and prompt(_('record this change to %r?') %
-                                      chunk.filename()) \
-                           or  prompt(_('record change %d/%d to %r?') %
-                                      (pos, total, chunk.filename()))
+            r = (total == 1
+                 and prompt(_('record this change to %r?') % chunk.filename())
+                 or prompt(_('record change %d/%d to %r?') %
+                           (pos, total, chunk.filename())))
             if r:
                 if fixoffset:
                     chunk = copy.copy(chunk)