Shared Repository Layouts
I am reading the Bazaar documentation "SharedReposito
I am used to CVS, maybe thats my problem. BUT I dont see why there should be ANY structure for branches other than the genealogical one. This is the case in CVS, and CVS has the problem, amongst many others (!!) that if you are not careful you completely loose track of where the branches branched from.
So I ask myself what would I expect from an IDEAL VCS? Well first I would expect that if I want one branch or tagged version checked out I can just do that. This doesnt seem to be a problem in Bazar or CVS: (Well, obviously its a rather basic requirement.)
In CVS I do
cvs co -r sometag somepath
If sometag is a "branchtag" or the special tag "HEAD" I get something I can checkin against, if an ordinary tag, I cannot check it in.
In Bazaar I am still struggling to determine weather to do a pull or a checkout, but both seem to work. In Bazaar I dont have to worry about weather I am using a branch or ordinary tag, I will still be able to commit my changes regardless and if needed a branch will be created on the fly - Great!
Now if I choose to work on two or more branches at once (in CVS) I might do (for the b1stable branch)
cvs co -r b1stable somepath
mv somepath somepath-b1-stable
cd somepath-b1-stable
(do work and cvs stuff)
The point here is that the name I am using is my name, and never gets into the repository. I can checkout another copy if I want and call it something else too.
cvs co -r b1stable somepath
mv somepath somepath-
cd somepath-
(do work and cvs stuff)
And when I checkin from within these directories, there is no contamination between the names I have used for my private developer names and the actual branch names in use.
I can use a flat structure, or one with prjects followed by branches or branches followed by projects, or I can just call it foobar if that amuses me or should I say if that is memorable to me. My choice, doesnt affect any other developers though, note. When I commit, provided I am able to commit at all, everything just goes back where it came from, perfect.
Now in Bazaar, how do I do this?
Please, can someone in the know add an example to this page (http://
Either way I dont understand this.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Bazaar Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Deepinthekernel for more information if necessary.