svn-layout failure: "does not support co-located branches"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Subversion Plugin |
Fix Released
|
Medium
|
Jelmer Vernooij |
Bug Description
Versions: bzr 2.4b2 & bzr-svn 1.1.0dev.
I'm trying to set up a custom layout for bzr-svn. The setup is almost like "trunk" where branches are found under branches/, but the actual trunk is in trunk/product. Adding
branches = branches/
to my subversion.conf leads to an error when I try 'bzr svn-layout URL':
$ bzr svn-layout URL
bzr: ERROR: <bzrlib.
I tried wiping out my ~/.bazaar/svn-cache to no avail.
It turns out that using one of the valid branch paths does work:
$ bzr svn-layout URL/trunk/product
Repository root: URL
Layout: WildcardLayout(
Branch path: trunk/product
Project: trunk/product
No custom branch support
Push merged revisions: False
Jelmer said on IRC: "Looks like it's just invalid handling of a particular exception at the moment"
The error log:
Thu 2011-06-16 15:27:19 -0400
0.072 bazaar version: 2.4b2
0.072 bzr arguments: [u'svn-layout', u'svn://<email address hidden>']
0.130 looking for plugins in /Users/
0.254 looking for plugins in /usr/pkg/
0.255 Plugin name bash_completion already loaded
0.266 encoding stdout as sys.stdout encoding 'UTF-8'
0.587 bzr-svn: using Subversion 1.6.9 (), Subversion API 1.6.2 (), subvertpy 0.8.0
0.742 Transferred: 1kB (1.9kB/s r:0kB w:0kB u:1kB)
0.745 Traceback (most recent call last):
File "/usr/pkg/
return the_callable(*args, **kwargs)
File "/usr/pkg/
ret = run(*run_argv)
File "/usr/pkg/
return self.run(
File "/usr/pkg/
return self._operation
File "/usr/pkg/
self.cleanups, self.func, *args, **kwargs)
File "/usr/pkg/
result = func(*args, **kwargs)
File "/Users/
branch, _ = Branch.
File "/usr/pkg/
return control.
File "/Users/
relpath = self._determine
File "/Users/
raise errors.
NoColocatedBran
0.745 return code 3
Related branches
Changed in bzr-svn: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in bzr-svn: | |
status: | Triaged → Fix Released |
assignee: | nobody → Jelmer Vernooij (jelmer) |
milestone: | none → 1.1.0 |
The same bug occurs if providing an invalid path:
$ bzr branch URL/branches/ valid/invalidpa rt plugins. svn.remote. SvnRemoteAccess object at 0x1313ad0> does not support co-located branches.
bzr: ERROR: <bzrlib.