bzr clone fails with "ERROR: Not a branch"

Matt Nordhoff mnordhoff at mattnordhoff.com
Fri Feb 27 09:53:09 GMT 2009


Daniel Lidström wrote:
> Hello,
> 
> I'm trying to use bzr to collaborate on a branch at work.
> I want a co-worker to be able to see my local commits, before
> I check them in to the centralized (svn) repository.
> Here's my local repo:
> 
> C:\Users\Daniel.SBG\Programming\projects\nautilus_2009_01-repo>dir /B
> NAUT-143
> nautilus_2009_01-trunk
> 
> I have just merged NAUT-143 into nautilus_2009_01-trunk and committed
> locally.
> The two branches share the same repository.

Is it just me, or are you typing "nautilus_2009_01-trunk" here, but...

> Now I start bzr serve and try to clone nautilus_2009_01-trunk:
> 
> C:\Users\Daniel.SBG\Programming\projects\nautilus_2009_01-repo>bzr serve
> listening on port: 4155
> 
> Then, in another command window:
> 
> K:\daniel>bzr clone bzr://Daniel-PC/nautilus_2009_01 nautilus_2009_01
> bzr: ERROR: Not a branch: "bzr://Daniel-PC/nautilus_2009_01/".

...leaving out the "-trunk" and only using "nautilus_2009_01" here?

> What am I doing wrong?
> 
> For the record:
> 
> K:\daniel>bzr info bzr://Daniel-PC/nautilus_2009_01
> Shared repository with trees (format: unnamed)
> Location:
>   shared repository: bzr://Daniel-PC/

OTOH, that wouldn't explain "bzr info" working like this...

> C:\Users\Daniel.SBG\Programming\projects\nautilus_2009_01-repo>bzr info
> Shared repository with trees (format: rich-root-pack)
> Location:
>   shared repository: .
> 
> C:\Users\Daniel.SBG\Programming\projects\nautilus_2009_01-repo>bzr info
> nautilus_2009_01-trunk
> Repository checkout (format: rich-root-pack)
> Location:
>   repository checkout root: nautilus_2009_01-trunk
>         checkout of branch:
> svn+https://svn.sbg.se/svn/projects/Products/Development/branches/nautilus_2
> 009_01
>          shared repository: .
> 
> Related branches:
>   submit branch: NAUT-143
> 
> C:\Users\Daniel.SBG\Programming\projects\nautilus_2009_01-repo>bzr --version
> Bazaar (bzr) 1.12
>   Python interpreter: C:\Program Files\Bazaar\python25.dll 2.5.2
>   Python standard library: C:\Program Files\Bazaar\lib\library.zip
>   bzrlib: C:\Program Files\Bazaar\lib\library.zip\bzrlib
>   Bazaar configuration: C:\Users\Daniel.SBG\AppData\Roaming\bazaar\2.0
>   Bazaar log file: C:\Users\Daniel.SBG\Documents\.bzr.log
> 
> Thanks in advance!
> 
> Regards,
> 
> Daniel Lidström
> Stockholm, Sweden 
-- 



More information about the bazaar mailing list