Changing the tip

Dirkjan Ochtman dirkjan at ochtman.nl
Thu Oct 22 11:52:14 UTC 2009


On Thu, Oct 22, 2009 at 13:41, Isaac Jurado <diptongo at gmail.com> wrote:
>> When updating to a previous revision and doing a commit from there, you will
>> create a new "head", effectively splitting off a new line of changes, which
>> are, confusingly, also called "branches" but are much more light-weight then
>> "named-branches".
>
> I don't think that is true.  Named branches are not "hevier" than heads,
> since a named of a named branch is just a changeset attribute residing
> in the changelog.

Named branches have a bunch of different semantics attached, though,
which I guess makes them heavier in some sense (e.g. the concept of
branch heads, which can be fairly confusing). I do of course agree
that named branches are not really heavier than unnamed
heads-as-branches in a storage sense.

I do suspect we have to be careful throwing the term "branches"
around; a branch could either be a clone, a head on some branch
(whether named or not, but usually only when there are more on than on
the same named branch in that clone...) or a named branches label...

Cheers,

Dirkjan




More information about the Mercurial mailing list