I'm trying to programmatically create a new blank Bazaar branch/repo, tantamount to running
brz init. I've tried several different routes from the bzrlib documentation but so far haven't succeeded.
These failures are listed below:
from bzrlib import repository r = repository.Repository.open('/tmp/testing') r = repository.Repository.create('/tmp/testing') from bzrlib import branch b = branch.Branch.create('/tmp/testing') b = branch.Branch.open('/tmp/testing')
All result in failures that
/tmp/testing is not a branch.