Clone separate branches separately or one repository is better ?
Matt Mackall
mpm at selenic.com
Tue Dec 18 21:48:18 UTC 2012
On Tue, 2012-12-18 at 23:53 +0530, jeshkumar555 at gmail.com wrote:
> Hi :),
>
> I am using mercurial for software development and having 8 branches in a single repository.
>
> Regularly I update to other branches to do some changes for that branch.
>
> My question is, which is the better way of software development in mercurial with branches ?
> 1. Can I clone each branch separately and change directory to the branch whenever it is required ?
> Or
> 2. Clone all the branches and doing it in single repository ?
>
> Which is better ? And why ?
Entirely up to you.
I personally maintain Mercurial itself by using the share extension to
have two working directories (one for default and one for stable) that
point to the same repository. There are some caveats here, see:
http://mercurial.selenic.com/wiki/ShareExtension
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list