Problem with creating a central server for collaboration

Asked by JC on 2012-10-29

I am trying to set up a central server for managing code by following the first step of [1], but code doesn't appear on the server (only the directories). Am I right in thinking this means that other people can't download code from it?
Someone else had this problem [2], and they solved it by logging into the server and pulling from the client, but I can't do that because the client (my local computer) can't be accessed from the server.

I want to get into a position where a collaborator can see the files on the server and checkout the files. I followed this first way [1] for doing just that, followed by a

bzr bind sftp://centralhost/srv/bzr/PROJECT/trunk

but clearly it doesn't work. Is the tutorial written here wrong then? What's the point of collaborating via a central server if my collaborator can't access any files? I must be misunderstanding something.

I would appreciate any help to clear up this confusion.
Thank you!

[1] http://doc.bazaar.canonical.com/bzr.2.2/en/user-guide/publishing_a_branch.html
[2] https://answers.launchpad.net/bzr/+question/129299

Question information

Language:
English Edit question
Status:
Solved
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Solved by:
Vincent Ladeuil
Solved:
2012-11-30
Last query:
2012-11-30
Last reply:
2012-10-30
Best Vincent Ladeuil (vila) said : #1

> I am trying to set up a central server for managing code by following the first step of [1], but code doesn't appear on the server (only the directories). Am I right in thinking this means that other people can't download code from it?

No, you're not right :)

Try it yourself by branching the remote server branch in a new directory on your local client and you'll be able to verify that you indeed get your files.

https://answers.launchpad.net/bzr/+question/129299 was requiring that the working tree was available on the server itself.

Either you have the same requirement and you should create (and update) the working tree on the server or you don't and then you only need the *branch* on the server in which case the working tree doesn't exist so you cannot see the files there.

But the branch itself is all that is needed to enable a central server for collaboration.

JC (shisosushi) said : #2

Thanks Vincent Ladeuil, that solved my question.