How to set up bzr server
Andrew Bennetts
andrew at canonical.com
Tue Sep 2 00:51:15 BST 2008
Paul Schauble wrote:
> I think I’m missing something about repository organization.
[...]
> 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
[...]
> Bzr branch bzr:\\machine1\c
>
> And I receive the message “c is not a branch”.
The problem here is that the root that you are serving from is \a\b\c, and then
the URL you give to bzr branch says you want to access \c inside the server.
So, it is effectively trying to branch from \a\b\c\c on the server, which of
course fails.
If you did “bzr serve --allow-writes --directory \a\b”, then your “bzr
branch bzr://machine1/c” command would work.
Alternatively, you could do “bzr branch bzr://machine1/” and not change the
directory you are serving from.
-Andrew.
More information about the bazaar
mailing list