Question about features
Daniel Carrera
dcarrera at gmail.com
Thu Nov 5 02:59:58 GMT 2009
Eugene Wee wrote:
> On Thu, Nov 5, 2009 at 12:50 AM, Daniel Carrera <dcarrera at gmail.com> wrote:
>> So basically all the branches are in the same working directory?
>
> No, the feature branches are still in their own directories, but you
> can switch your checkout between them as needed. See:
> http://doc.bazaar-vcs.org/latest/en/user-guide/reusing_a_checkout.html
A problem I'm having is that Bazaar distinguishes between a branch, a
tree, a checkout, and a repository. That's four different terms. I come
from the simpler world of darcs where "branch = working directory" and
that's it.
For example, you wrote "--no-trees means that branches using the shared
repository do not contain working trees". To understand this I first
need to learn how a branch, a working tree and a repository differ.
I have another problem. My Bazaar doesn't seem to have a --create-branch
option ("ERROR: no such option"). So I can't experiment with Tom's
example to figure out how it works. I have Bazaar 1.13 (Ubuntu Jaunty).
All in all, this seems like a lot of complication when all i want is to
uncommit feature A.
> Perhaps this article on organising branches will be a good read:
> http://doc.bazaar-vcs.org/latest/en/user-guide/organizing_branches.html
Thanks.
Question: How would you modify the instructions on that page if you were
starting a new project from scratch? The web page says:
bzr init-repo PROJECT
cd PROJECT
bzr branch sftp://centralhost/srv/bzr/PROJECT/trunk
What if I'm starting a brand new project? My best guess is:
bzr init-repo PROJECT
cd PROJECT
mkdir trunk <-----
cd trunk <-----
bzr init <-----
Is this correct?
Daniel.
More information about the bazaar
mailing list