[alsa-devel] HG branches

Takashi Iwai tiwai at suse.de
Thu Feb 7 12:30:31 CET 2008


At Wed, 6 Feb 2008 19:59:24 -0600,
Seth Forshee wrote:
> 
> On Wed, Feb 06, 2008 at 03:06:44PM +0100, Jaroslav Kysela wrote:
> > BTW: Does anyone know if it's possible to just pick a patch from a HG 
> > branch to another? STG (Stacked GIT) has nice 'stg pick <branch>@<patch>' 
> > command for this.
> 
>   hg update -C dest-branch
>   hg transplant -b source-branch revision
> 
> But I must say that using branches in hg is rather painful.  We tried
> it for a while at my workplace and switched to using cloned repos for
> branches (mostly).  We had several instances of bad things happening
> because of the way hg handled branches, and when those things got
> pushed it was often very difficult to get the repo back to a decent
> state.  In my opinion git handles branches much better than hg does.

Fair enough.

I prpoposed HG branch because I have no way to create new repos by
myself.  The branch doesn't require a repo creation.  But, an
individual repo is of course a safer and well-checked solution.

Probably it's same to git, too, although git seems to be able to
handle branches better (and easier to repair trees).


Takashi


More information about the Alsa-devel mailing list