Terminology: what to call the trunk
Dirkjan Ochtman
dirkjan at ochtman.nl
Thu Dec 4 10:43:53 CST 2008
On 04/12/2008 17:20, Greg Ward wrote:
> So far I'm on safe ground ... I understand CVS very well and
> Subversion pretty well. Now I'm going out on a limb:
>
> * Git and Mercurial both have a formal notion of the trunk and a way
> to name it. In git's case, it's called "master", and in
> Mercurial's case it's called "default". Regardless, master/default
> is always there and can always be named: "git checkout master" and
> "hg update default" take you back to the trunk.
>
> Is that correct (at least as far as Mercurial is concerned)?
>
> Or is "default" just the *default* name of the trunk? I.e. can I
> decide that I want to call the trunk "trunk" instead of "default"?
I can't speak for git, but that sounds correct for Mercurial. You cannot
*decide* the default's branch name, it's always 'default'.
Good luck with educating your colleagues. :)
Cheers,
Dirkjan
More information about the Mercurial
mailing list