~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Martin Pool
  • Date: 2005-05-11 02:27:13 UTC
  • Revision ID: mbp@sourcefrog.net-20050511022713-08efc0509b7c05ad
- fix 'bzr root'

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
 
42
42
 
43
43
def find_branch(f, **args):
44
 
    if f.startswith('http://') or f.startswith('https://'):
 
44
    if f and (f.startswith('http://') or f.startswith('https://')):
45
45
        import remotebranch 
46
46
        return remotebranch.RemoteBranch(f, **args)
47
47
    else: