~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Matthew Fuller
  • Date: 2012-09-27 17:41:19 UTC
  • mto: This revision was merged to the branch mainline in revision 6567.
  • Revision ID: fullermd@over-yonder.net-20120927174119-da6zftafartblqlz
The revno command should give errors referencing revision numbers, not
tags.

Show diffs side-by-side

added added

removed removed

Lines of Context:
685
685
            if revision:
686
686
                if len(revision) != 1:
687
687
                    raise errors.BzrCommandError(gettext(
688
 
                        "Tags can only be placed on a single revision, "
689
 
                        "not on a range"))
 
688
                        "Revision numbers only make sense for single "
 
689
                        "revisions, not ranges"))
690
690
                revid = revision[0].as_revision_id(b)
691
691
            else:
692
692
                revid = b.last_revision()