~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Patch Queue Manager
  • Date: 2012-04-16 10:30:50 UTC
  • mfrom: (6519.2.3 559072-missing-tag)
  • Revision ID: pqm@pqm.ubuntu.com-20120416103050-rbkgxv7kih8y80ca
(jelmer) Add tag information to the output of bzr missing. (Neil
 Martinsen-Burrell)

Show diffs side-by-side

added added

removed removed

Lines of Context:
5002
5002
                             "You have %d extra revisions:\n", 
5003
5003
                             len(local_extra)) %
5004
5004
                len(local_extra))
 
5005
            rev_tag_dict = {}
 
5006
            if local_branch.supports_tags():
 
5007
                rev_tag_dict = local_branch.tags.get_reverse_tag_dict()
5005
5008
            for revision in iter_log_revisions(local_extra,
5006
5009
                                local_branch.repository,
5007
 
                                verbose):
 
5010
                                verbose,
 
5011
                                rev_tag_dict):
5008
5012
                lf.log_revision(revision)
5009
5013
            printed_local = True
5010
5014
            status_code = 1
5018
5022
                             "You are missing %d revisions:\n",
5019
5023
                             len(remote_extra)) %
5020
5024
                len(remote_extra))
 
5025
            if remote_branch.supports_tags():
 
5026
                rev_tag_dict = remote_branch.tags.get_reverse_tag_dict()
5021
5027
            for revision in iter_log_revisions(remote_extra,
5022
5028
                                remote_branch.repository,
5023
 
                                verbose):
 
5029
                                verbose,
 
5030
                                rev_tag_dict):
5024
5031
                lf.log_revision(revision)
5025
5032
            status_code = 1
5026
5033