~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Martin Pool
  • Date: 2005-05-10 04:02:02 UTC
  • Revision ID: mbp@sourcefrog.net-20050510040202-1dbbfdd236e07711
- check from aaron for existence of a branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
        f = os.path.realpath(f)
64
64
    else:
65
65
        f = os.path.abspath(f)
 
66
    if not os.path.exists(f):
 
67
        raise BzrError('%r does not exist' % f)
 
68
        
66
69
 
67
70
    orig_f = f
68
71