~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transform.py

  • Committer: Patch Queue Manager
  • Date: 2011-10-06 08:34:03 UTC
  • mfrom: (6191.2.1 843900-url-nameerror)
  • Revision ID: pqm@pqm.ubuntu.com-20111006083403-jnsw0exlirg01aed
(mbp) error message without traceback on invalid ubuntu/debian url (bug
 843900) (Martin Pool)

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
from bzrlib import (
31
31
    annotate,
32
32
    bencode,
33
 
    controldir,
 
33
    bzrdir,
34
34
    commit,
35
35
    conflicts,
36
36
    delta,
2596
2596
                    kind = file_kind(target_path)
2597
2597
                    if kind == "directory":
2598
2598
                        try:
2599
 
                            controldir.ControlDir.open(target_path)
 
2599
                            bzrdir.BzrDir.open(target_path)
2600
2600
                        except errors.NotBranchError:
2601
2601
                            pass
2602
2602
                        else: