~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: John Arbash Meinel
  • Date: 2005-07-11 20:05:06 UTC
  • mto: (1185.11.1)
  • mto: This revision was merged to the branch mainline in revision 1396.
  • Revision ID: john@arbash-meinel.com-20050711200506-c5072c467f0f70df
Fixed bzr root.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
    # FIXME: This is a hack around transport so that
35
35
    #        We can search the local directories for
36
36
    #        a branch root.
 
37
    if args.has_key('init') and args['init']:
 
38
        # Don't search if we are init-ing
 
39
        return Branch(t, **args)
37
40
    if isinstance(t, LocalTransport):
38
41
        root = find_branch_root(f)
39
42
        if root != f: