Should be able to create colocated branches with "/" in the name to allow for hierarchical branch names
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Jelmer Vernooij |
Bug Description
bzr-colo has had the ability to create branch names such as "origin/trunk" or "bugs/123456". This allows one to impose some order on the possibly many named branches. It would be nice if this worked in the core colocated workspace support. Something like
$ bzr init --development-colo file:test,
$ cd test
$ bzr branch file:,branch=
which currently fails with
nmb@garble[~/tmp]$ bzr init --development-colo file:test,
Created a lightweight checkout (format: development-colo)
nmb@garble[~/tmp]$ cd test
nmb@garble[
bzr: ERROR: bzrlib.
Traceback (most recent call last):
File "/Users/
return the_callable(*args, **kwargs)
File "/Users/
ret = run(*run_argv)
File "/Users/
return self.run(
File "/Users/
return self._operation
File "/Users/
self.cleanups, self.func, *args, **kwargs)
File "/Users/
result = func(*args, **kwargs)
File "/Users/
from_location)
File "/Users/
controldir = klass.open(
File "/Users/
return klass.open_
File "/Users/
find_format, transport, redirected)
File "/Users/
return action(transport)
File "/Users/
transport, _server_
File "/Users/
raise errors.
NotBranchError: Not a branch: "/Users/
Related branches
- Martin Packman (community): Approve
- Vincent Ladeuil: Pending requested
-
Diff: 115 lines (+42/-6)5 files modifiedbzrlib/bzrdir.py (+11/-6)
bzrlib/errors.py (+5/-0)
bzrlib/tests/per_controldir_colo/test_supported.py (+7/-0)
bzrlib/tests/test_bzrdir.py (+16/-0)
doc/en/release-notes/bzr-2.5.txt (+3/-0)
Changed in bzr: | |
status: | Confirmed → In Progress |
assignee: | nobody → Jelmer Vernooij (jelmer) |
Changed in bzr: | |
milestone: | none → 2.5b6 |
status: | In Progress → Fix Released |
For ambiguity rasons, this would have to be file:,branch= origin% 2Ftrunk rather than file:,branch= origin/ trunk.
Other than that it seems like a good idea to me.