Rev 2502: Fix the fix. in file:///v/home/vila/src/experimental/reuse.transports/

Vincent Ladeuil v.ladeuil+lp at free.fr
Thu May 31 18:54:19 BST 2007


At file:///v/home/vila/src/experimental/reuse.transports/

------------------------------------------------------------
revno: 2502
revision-id: v.ladeuil+lp at free.fr-20070531175417-vtcav2eh81c38clk
parent: v.ladeuil+lp at free.fr-20070530071516-gd5g28s954tfz63g
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: reuse.transports
timestamp: Thu 2007-05-31 19:54:17 +0200
message:
  Fix the fix.
  
  * bzrlib/builtins.py:
  (cmd_missing.run): Oops, add the missing '\n'.
modified:
  bzrlib/builtins.py             builtins.py-20050830033751-fc01482b9ca23183
-------------- next part --------------
=== modified file 'bzrlib/builtins.py'
--- a/bzrlib/builtins.py	2007-05-29 13:35:16 +0000
+++ b/bzrlib/builtins.py	2007-05-31 17:54:17 +0000
@@ -2989,10 +2989,10 @@
             other_branch = parent
             if other_branch is None:
                 raise errors.BzrCommandError("No peer location known"
-                                             +" or specified.")
+                                             " or specified.")
             display_url = urlutils.unescape_for_display(parent,
                                                         self.outf.encoding)
-            self.outf.write("Using last location: " + display_url)
+            self.outf.write("Using last location: " + display_url + '\n')
 
         remote_branch = Branch.open(other_branch)
         if remote_branch.base == local_branch.base:
@@ -3013,7 +3013,7 @@
                     local_extra.reverse()
                     remote_extra.reverse()
                 if local_extra and not theirs_only:
-                    self.outf.write("You have %d extra revision(s):" %
+                    self.outf.write("You have %d extra revision(s):\n" %
                                     len(local_extra))
                     for revision in iter_log_revisions(local_extra,
                                         local_branch.repository,
@@ -3024,8 +3024,8 @@
                     printed_local = False
                 if remote_extra and not mine_only:
                     if printed_local is True:
-                        self.outf.write("\n\n")
-                    self.outf.write("You are missing %d revision(s):" %
+                        self.outf.write("\n\n\n")
+                    self.outf.write("You are missing %d revision(s):\n" %
                                     len(remote_extra))
                     for revision in iter_log_revisions(remote_extra,
                                         remote_branch.repository,
@@ -3033,7 +3033,7 @@
                         lf.log_revision(revision)
                 if not remote_extra and not local_extra:
                     status_code = 0
-                    self.outf.write("Branches are up to date.")
+                    self.outf.write("Branches are up to date.\n")
                 else:
                     status_code = 1
             finally:



More information about the bazaar-commits mailing list