Centralised server with http push
Marius Kruger
amanic at gmail.com
Mon Oct 13 22:00:53 BST 2008
2008/10/13 Lionel Dricot <zeploum at gmail.com>
...
> 2) Am I right in my usecase ? In order to create a new project, I simply
> do, locally :
> cd my_folder
> bzr init (how can I do a bzr init in the olive interface ?)
> bzr push bzr+http://server/bzr/my_folder
>
yes
In order to do the equivalent of svn checkout, I do :
> bzr branch bzr+http://server/bzr/my_folder
>
or, if you'l like to work like svn then you can:
bzr checkout bzr+http://server/bzr/my_folder
>
> And to do the equivalent of svn commit, I do :
> bzr push bzr+http://server/bzr/my_folder
>
bzr commit
If you use a checkout, it will push it to the mainline automatically.
>
> 3) Something I don't understand : If I follow the bzr init then bzr push
> step, the folder on the server will still appear empty ! In fact, every
> pushed revision does not appear on the server. But, if I do a bzr branch,
> everything is fine. It seems a bit magical and has the side effect that
> files are not available over plain http with the apache index. Any solution
> ?
>
It didn't create the working tree on the server. All the info is in .bzr
If you really want a workingtree you can do
bzr ceckout (on the server)
The workingtree will get out of date unless you use the push and update
plugin on all the clients.
https://launchpad.net/bzr-push-and-update/
(I recommend workingtree-less on the main server though)
>
> 4) When should I use bzr pull and bzr update ?
>
if you have a checkout, use update.
if you have a branch use pull
> 5) I always use the same server with a complicate name+path. Is there a way
> do make it a shortcut like it was done for launchpad with lp:my_folder ?
>
there is a bookmark plugin
https://launchpad.net/bzr-bookmarks/
>
> 6) Authentification (well, it is an issue after all) : how can I know who
> commited what ?
>
> bzr log ?
--
<| regards
U| Marius
H| <><
Z| http://amanica.blogspot.com/
<|
E| http://bazaar-vcs.org/
<| because I don't trust version control systems with less than 12994 unit
tests
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20081013/61116006/attachment.htm
More information about the bazaar
mailing list