Demonstration Help.

Eric Berry elberry at gmail.com
Fri Feb 20 17:30:25 GMT 2009


Thanks so much everyone for all the help.

I'm still learning the terminology and the differences between BZR and SVN.
I think the simplest thing will be to just go through and actually try to
implement the scenarios I want to demonstrate.

I do have a question regarding the shared repositories though - in regards
to shared repositories on a "server", and those hosted locally.

On my server I've set up several projects each of which consists of it's own
repository - allowing many branches of the same project to share the
repository. If I branch off of the remote project's branches locally, can I
save space by putting those branches into a shared repo locally?

Eg. On the server I have this:
[quote desc="plain vanilla directories on the host"]
ftp://[host]/ProjectA
ftp://[host]/ProjectB
ftp://[host]/ProjectC
[/quote]

For which I have run these commands:
[code]
bzr init-repo --no-trees ftp://[host]/ProjectA
bzr init-repo --no-trees ftp://[host]/ProjectB
...
[/code]

Then created main branches for each:
[code]
bzr init ftp://[host]/ProjectA/main
bzr init ftp://[host]/ProjectB/main
...
[/code]

Now I branch off of the main branches locally using, "bzr branch
ftp://[host]/ProjectA/main
ProjectA". I know, I should keep a clean branch of the main branch locally -
working through it slowly :)

If I had created a local repository first, would I still gain the benefits
of the shared repo?

Eg.
[code current_dir="~/development/projects"]
bzr init-repo .
bzr branch ftp://[host]/ProjectA/main ProjectA
bzr branch ftp://[host]/ProjectB/main ProjectB
bzr branch ftp://[host]/ProjectC/main ProjectC*
*[/code]

Thanks,
Eric

-- 
Learn from the past. Live in the present. Plan for the future.
11101000
http://www.townsfolkdesigns.com/blogs/elberry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20090220/dafb4176/attachment.htm 


More information about the bazaar mailing list