~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugins/launchpad/__init__.py

  • Committer: Jelmer Vernooij
  • Date: 2011-05-10 07:46:15 UTC
  • mfrom: (5844 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5845.
  • Revision ID: jelmer@samba.org-20110510074615-eptod049ndjxc4i7
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
lazy_import(globals(), """
48
48
from bzrlib import (
49
49
    branch as _mod_branch,
50
 
    errors,
51
50
    ui,
52
51
    trace,
53
52
    )
55
54
 
56
55
from bzrlib import bzrdir
57
56
from bzrlib.commands import (
58
 
        Command,
59
 
        register_command,
60
 
)
 
57
    Command,
 
58
    register_command,
 
59
    )
61
60
from bzrlib.directory_service import directories
62
61
from bzrlib.errors import (
63
62
    BzrCommandError,
64
 
    DependencyNotPresent,
 
63
    InvalidRevisionSpec,
65
64
    InvalidURL,
66
65
    NoPublicBranch,
67
66
    NotBranchError,
421
420
            merging_revision = graph.find_lefthand_merger(
422
421
                revision_id, b.last_revision())
423
422
            if merging_revision is None:
424
 
                raise errors.InvalidRevisionSpec(revision[0].user_spec, b)
 
423
                raise InvalidRevisionSpec(revision[0].user_spec, b)
425
424
        pb.update('Finding revno')
426
425
        return b.revision_id_to_revno(merging_revision)
427
426