Named branches in main Mercurial repo

Matt Mackall mpm at selenic.com
Tue Nov 17 16:54:33 CST 2009


We're now using named branches in the main repo. There are two branches:

default = everything for the next major release
stable = everything for the next minor release (ie bugfixes)

Workflows shouldn't need to change here; the only real difference is
that changesets from the stable branch are now marked as such. The old
hg-stable repo is now simply a mirror of the stable branch in the main
repo. 

If you're tracking stable, you can continue pulling from the old stable
repo, or you can pull just the stable bits from the new repo with:

hg clone http://selenic.com/hg#stable

This is equivalent to:

hg clone -r stable http://selenic.com/hg

with the added bonus that the stable branch piece is remembered in
your .hgrc and automatically used for future pulls. 

-- 
http://selenic.com : development and support for Mercurial and Linux




More information about the Mercurial-devel mailing list