How to set up bzr server

John Arbash Meinel john at arbash-meinel.com
Tue Sep 2 00:50:19 BST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul Schauble wrote:
> I think I'm missing something about repository organization.
> 
>  
> 
> All the machines here are running Windows XP.
> 
>  
> 
> On machine 1, I started with c:\a\b\c containing a set of source files.
> In this directory I did
> 
> Bzr init
> 
> Bzr add a whole bunch of files
> 
> Bzr serve -allow-write -director \a\b\c
> 
>  
> 
>  
> 
> Now, I want to mirror this source on machine 2. So there I do
> 
>     Cd \a\b\c
> 
> Bzr branch bzr:\\machine1\c
> 
>  
> 
> And I receive the message "c is not a branch".
> 
>  
> 
> What did I di wrong?
> 
>  
> 
>   Thanks,
> 
>     ++PLS


I'm not sure I follow everything that you've done, but if you did:

bzr serve --allow-writes --directory C:\a\b\c

Then all paths will be relative to the "c" directory, so from the other
machine, you would do:

bzr branch bzr://machine1/

If you want to supply the 'c' then you want to do

bzr serve --allow-writes --directory C:\a\b

Which then has "c" as a subdirectory of the directory you are serving.

Also, I don't know if "bzr:\\machine1\" works, I think you have to give it as
a URL, such as: "bzr://machine1/c". (just like http:// or sftp://, or ftp://).

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIvH+7JdeBCYSNAAMRAn8oAKCWYJRRxr1SdwOLqUA+f/jsUY81ZwCgsjGI
pNzfWNVavbL44Z3s46X5l8s=
=A2J7
-----END PGP SIGNATURE-----



More information about the bazaar mailing list