~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-03-02 18:59:02 UTC
  • mfrom: (5689.2.2 tag-ghosts)
  • Revision ID: pqm@pqm.ubuntu.com-20110302185902-f0qc7uyy82j785q3
(jelmer) Support branches with ghosts in their mainline and tags on
 revisions not in the branch ancestry in "bzr tags". (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
5566
5566
                    revno = branch.revision_id_to_dotted_revno(revid)
5567
5567
                    if isinstance(revno, tuple):
5568
5568
                        revno = '.'.join(map(str, revno))
5569
 
                except errors.NoSuchRevision:
 
5569
                except (errors.NoSuchRevision, errors.GhostRevisionsHaveNoRevno):
5570
5570
                    # Bad tag data/merges can lead to tagged revisions
5571
5571
                    # which are not in this branch. Fail gracefully ...
5572
5572
                    revno = '?'