I have found a workaround: branching from the repository without the use of the colo extension for the source works just fine, for example the following sequence of commands works just fine (output omitted for clarity):
This is the output that is placed in ~/.bzr.log for the execution of the previous command:
Sat 2011-04-23 22:09:58 -0400
1.029 bazaar version: 2.3.0
1.029 bzr arguments: [u'colo-fetch', u'bzr+ssh://aloe.trausch.us/home/mbt/Projects/desktop/alltray:origin/trunk', u'alltray']
1.419 looking for plugins in /Users/mbt/.bazaar/plugins
1.439 looking for plugins in /Library/Python/2.6/site-packages/bzrlib/plugins
3.888 encoding stdout as sys.stdout encoding 'UTF-8'
4.196 creating repository in file:///Users/mbt/Projects/client/alltray/.bzr/branches/.bzr/.
4.206 creating branch <bzrlib.branch.BzrBranchFormat7 object at 0x1024bfc90> in file:///Users/mbt/Projects/client/alltray/.bzr/branches/origin/trunk/
4.270 creating branch reference in file:///Users/mbt/Projects/client/alltray/
4.329 trying to create missing lock '/Users/mbt/Projects/client/alltray/.bzr/checkout/dirstate'
4.329 opening working tree '/Users/mbt/Projects/client/alltray'
4.383 opening working tree '/Users/mbt/Projects/client/alltray'
5.074 ssh implementation is OpenSSH
10.866 bzr-svn: using Subversion 1.6.15 (), Subversion API 1.6.5 (), subvertpy 0.7.5
11.017 Traceback (most recent call last):
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 923, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 1123, in run_bzr
ret = run(*run_argv)
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 691, in run_argv_aliases
return self.run(**all_cmd_args)
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 710, in run
return self._operation.run_simple(*args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/cleanup.py", line 135, in run_simple
self.cleanups, self.func, *args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
result = func(*args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/plugins/colo/commands.py", line 278, in run
remember=True)
File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 710, in run
return self._operation.run_simple(*args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/cleanup.py", line 135, in run_simple
self.cleanups, self.func, *args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
result = func(*args, **kwargs)
File "/Library/Python/2.6/site-packages/bzrlib/builtins.py", line 991, in run
possible_transports=possible_transports)
File "/Library/Python/2.6/site-packages/bzrlib/branch.py", line 176, in open
possible_transports=possible_transports)
File "/Library/Python/2.6/site-packages/bzrlib/bzrdir.py", line 717, in open
return BzrDir.open_from_transport(t, _unsupported=_unsupported)
File "/Library/Python/2.6/site-packages/bzrlib/bzrdir.py", line 752, in open_from_transport
return format.open(transport, _found=True)
File "/Library/Python/2.6/site-packages/bzrlib/bzrdir.py", line 1699, in open
return self._open(transport)
File "/Library/Python/2.6/site-packages/bzrlib/bzrdir.py", line 2886, in _open
return remote.RemoteBzrDir(transport, self)
File "/Library/Python/2.6/site-packages/bzrlib/remote.py", line 120, in __init__
self._probe_bzrdir()
File "/Library/Python/2.6/site-packages/bzrlib/remote.py", line 132, in _probe_bzrdir
self._rpc_open_2_1(path)
File "/Library/Python/2.6/site-packages/bzrlib/remote.py", line 141, in _rpc_open_2_1
raise errors.NotBranchError(path=self.root_transport.base)
NotBranchError: Not a branch: "bzr+ssh://aloe.trausch.us/home/mbt/Projects/desktop/alltray%3Aorigin/trunk/".
I have found a workaround: branching from the repository without the use of the colo extension for the source works just fine, for example the following sequence of commands works just fine (output omitted for clarity):
$ bzr colo-init alltray //aloe. trausch. us/home/ mbt/Projects/ desktop/ alltray/ .bzr/branches/ origin/ trunk colo:origin/trunk
$ cd alltray
$ bzr branch bzr+ssh:
Also, the following single command works in the same way:
$ bzr colo-fetch bzr+ssh: //aloe. trausch. us/home/ mbt/Projects/ desktop/ alltray/ .bzr/branches/ origin/ trunk alltray
The only problem comes when using the colo: specifier to branch from the source on the remote system, such as:
$ bzr colo-fetch colo:bzr+ ssh://aloe. trausch. us/home/ mbt/Projects/ desktop/ alltray: origin/ trunk alltray
This is the output that is placed in ~/.bzr.log for the execution of the previous command:
Sat 2011-04-23 22:09:58 -0400 //aloe. trausch. us/home/ mbt/Projects/ desktop/ alltray: origin/ trunk', u'alltray'] mbt/.bazaar/ plugins Python/ 2.6/site- packages/ bzrlib/ plugins /Users/ mbt/Projects/ client/ alltray/ .bzr/branches/ .bzr/. branch. BzrBranchFormat 7 object at 0x1024bfc90> in file:// /Users/ mbt/Projects/ client/ alltray/ .bzr/branches/ origin/ trunk/ /Users/ mbt/Projects/ client/ alltray/ mbt/Projects/ client/ alltray/ .bzr/checkout/ dirstate' mbt/Projects/ client/ alltray' mbt/Projects/ client/ alltray' Python/ 2.6/site- packages/ bzrlib/ commands. py", line 923, in exception_ to_return_ code Python/ 2.6/site- packages/ bzrlib/ commands. py", line 1123, in run_bzr Python/ 2.6/site- packages/ bzrlib/ commands. py", line 691, in run_argv_aliases **all_cmd_ args) Python/ 2.6/site- packages/ bzrlib/ commands. py", line 710, in run .run_simple( *args, **kwargs) Python/ 2.6/site- packages/ bzrlib/ cleanup. py", line 135, in run_simple Python/ 2.6/site- packages/ bzrlib/ cleanup. py", line 165, in _do_with_cleanups Python/ 2.6/site- packages/ bzrlib/ plugins/ colo/commands. py", line 278, in run Python/ 2.6/site- packages/ bzrlib/ commands. py", line 710, in run .run_simple( *args, **kwargs) Python/ 2.6/site- packages/ bzrlib/ cleanup. py", line 135, in run_simple Python/ 2.6/site- packages/ bzrlib/ cleanup. py", line 165, in _do_with_cleanups Python/ 2.6/site- packages/ bzrlib/ builtins. py", line 991, in run transports= possible_ transports) Python/ 2.6/site- packages/ bzrlib/ branch. py", line 176, in open transports= possible_ transports) Python/ 2.6/site- packages/ bzrlib/ bzrdir. py", line 717, in open open_from_ transport( t, _unsupported= _unsupported) Python/ 2.6/site- packages/ bzrlib/ bzrdir. py", line 752, in open_from_transport open(transport, _found=True) Python/ 2.6/site- packages/ bzrlib/ bzrdir. py", line 1699, in open transport) Python/ 2.6/site- packages/ bzrlib/ bzrdir. py", line 2886, in _open RemoteBzrDir( transport, self) Python/ 2.6/site- packages/ bzrlib/ remote. py", line 120, in __init__ _probe_ bzrdir( ) Python/ 2.6/site- packages/ bzrlib/ remote. py", line 132, in _probe_bzrdir _rpc_open_ 2_1(path) Python/ 2.6/site- packages/ bzrlib/ remote. py", line 141, in _rpc_open_2_1 NotBranchError( path=self. root_transport. base) //aloe. trausch. us/home/ mbt/Projects/ desktop/ alltray% 3Aorigin/ trunk/" .
1.029 bazaar version: 2.3.0
1.029 bzr arguments: [u'colo-fetch', u'bzr+ssh:
1.419 looking for plugins in /Users/
1.439 looking for plugins in /Library/
3.888 encoding stdout as sys.stdout encoding 'UTF-8'
4.196 creating repository in file://
4.206 creating branch <bzrlib.
4.270 creating branch reference in file://
4.329 trying to create missing lock '/Users/
4.329 opening working tree '/Users/
4.383 opening working tree '/Users/
5.074 ssh implementation is OpenSSH
10.866 bzr-svn: using Subversion 1.6.15 (), Subversion API 1.6.5 (), subvertpy 0.7.5
11.017 Traceback (most recent call last):
File "/Library/
return the_callable(*args, **kwargs)
File "/Library/
ret = run(*run_argv)
File "/Library/
return self.run(
File "/Library/
return self._operation
File "/Library/
self.cleanups, self.func, *args, **kwargs)
File "/Library/
result = func(*args, **kwargs)
File "/Library/
remember=True)
File "/Library/
return self._operation
File "/Library/
self.cleanups, self.func, *args, **kwargs)
File "/Library/
result = func(*args, **kwargs)
File "/Library/
possible_
File "/Library/
possible_
File "/Library/
return BzrDir.
File "/Library/
return format.
File "/Library/
return self._open(
File "/Library/
return remote.
File "/Library/
self.
File "/Library/
self.
File "/Library/
raise errors.
NotBranchError: Not a branch: "bzr+ssh:
11.018 Transferred: 0kB (0.0kB/s r:0kB w:0kB)
11.018 return code 3