~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Vincent Ladeuil
  • Date: 2007-05-31 17:54:17 UTC
  • mto: (2485.8.44 bzr.connection.sharing)
  • mto: This revision was merged to the branch mainline in revision 2646.
  • Revision ID: v.ladeuil+lp@free.fr-20070531175417-vtcav2eh81c38clk
Fix the fix.

* bzrlib/builtins.py:
(cmd_missing.run): Oops, add the missing '\n'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2989
2989
            other_branch = parent
2990
2990
            if other_branch is None:
2991
2991
                raise errors.BzrCommandError("No peer location known"
2992
 
                                             +" or specified.")
 
2992
                                             " or specified.")
2993
2993
            display_url = urlutils.unescape_for_display(parent,
2994
2994
                                                        self.outf.encoding)
2995
 
            self.outf.write("Using last location: " + display_url)
 
2995
            self.outf.write("Using last location: " + display_url + '\n')
2996
2996
 
2997
2997
        remote_branch = Branch.open(other_branch)
2998
2998
        if remote_branch.base == local_branch.base:
3013
3013
                    local_extra.reverse()
3014
3014
                    remote_extra.reverse()
3015
3015
                if local_extra and not theirs_only:
3016
 
                    self.outf.write("You have %d extra revision(s):" %
 
3016
                    self.outf.write("You have %d extra revision(s):\n" %
3017
3017
                                    len(local_extra))
3018
3018
                    for revision in iter_log_revisions(local_extra,
3019
3019
                                        local_branch.repository,
3024
3024
                    printed_local = False
3025
3025
                if remote_extra and not mine_only:
3026
3026
                    if printed_local is True:
3027
 
                        self.outf.write("\n\n")
3028
 
                    self.outf.write("You are missing %d revision(s):" %
 
3027
                        self.outf.write("\n\n\n")
 
3028
                    self.outf.write("You are missing %d revision(s):\n" %
3029
3029
                                    len(remote_extra))
3030
3030
                    for revision in iter_log_revisions(remote_extra,
3031
3031
                                        remote_branch.repository,
3033
3033
                        lf.log_revision(revision)
3034
3034
                if not remote_extra and not local_extra:
3035
3035
                    status_code = 0
3036
 
                    self.outf.write("Branches are up to date.")
 
3036
                    self.outf.write("Branches are up to date.\n")
3037
3037
                else:
3038
3038
                    status_code = 1
3039
3039
            finally: