rename default branch

James P. Howard, II jh at jameshoward.us
Thu Apr 22 14:30:49 CDT 2010


On Thu, Apr 22, 2010 at 14:54, Greg Ward <greg-hg at gerg.ca> wrote:

> If you haven't started work yet, it's easy:
>
>  hg init thesis
>  cd thesis
>  hg branch proposal
>  [work work work]
>  hg branch dissertation
>  [some more work]
>  [submit]
>  [graduate]
>
> If you *have* already committed on default, then your only hope is an

I have.

> hg->hg conversion using a branchmap to rename your branch.  The
> resulting repo will NOT be compatible with your old one, i.e. the
> changeset IDs will be different.

Actually, this was really simple.  The only hang up is that I store a
backup in a private repo in Bitbucket.  Deleting that and starting
anew (there are no wiki or issues) and all is well.

Thank you, James

-- 
James P. Howard, II, MPA MBCS
jh at jameshoward.us


More information about the Mercurial mailing list