Using branches
Matt Mackall
mpm at selenic.com
Thu Jul 12 15:13:07 CDT 2007
On Thu, Jul 12, 2007 at 12:33:53PM -0700, Charles Pope wrote:
>
> I am used to using CVSNT, which actually is reasonably intelligent with
> branches and works well with repeated merges (unlike normal CVS).
>
> I am looking at Mercurial and trying to understand how branches work within
> a repository. I can see how to name a branch, but I don't understand how you
> can switch between branches. I don't see a command to move to a different
> branch. Once I have branches, what is the command to merge changes from one
> branch into another? I have experimented, but the resultant file doesn't
> seem to contain any merges.
hg up <branch>
> Is it the case for branches that I really need multiple copies of the
> repository representing the different branches?
No, it's just simpler.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list