2 ms·
> bazaar expects you to have a separate working copy (directory) for each branch, but you can have multiple branches stored in the same repository without any p
by JoshTriplett 13y ago
> bazaar expects you to have a separate working copy (directory) for each branch, but you can have multiple branches stored in the same repository without any problem
Those are functionally equivalent, in that they both mean branching is not instantaneous.
- rbehrends 13y agoThose are functionally equivalent, in that they both mean branching is not instantaneous. They are not functionally equivalent. A "bzr branch" with a shared repository will only populate the working tree and does not have to duplicate the repository. It is functionally closer to "git-new-workdir" than "git clone" or "git branch". To have instant branching in Bazaar, you can use co-located branches. Branches with their own directories exist for the use case where the accumulated cost for rebuilds after branch switches is more costly than populating a new directory with a checkout or if you need two checkouts in parallel. They also exist in Bazaar for simulating a workflow with a central server and no local repository data.