Bookmarks - Tutorial / Git comparison
Daniel Carrera
dcarrera at gmail.com
Mon Jul 12 07:12:15 UTC 2010
2010/7/12 Martin Geisler <mg at aragost.com>:
> The Definitive Guide to Mercurial promotes this way of working, but it
> is not your only option. It is important to realize that Mercurial has
> always supported *multiple light-weight branches* within a single
> repository.
>
> Many blog posts describe this as a Git-only feature and fail to realize
> that Mercurial supports it too.
Not only that, but Mercurial's support is inherent to the very nature
of Mercurial, just as it is with Git. Cheap branches in the same
repository are not an add-on feature for either Hg or Git. In fact,
they have the same basic branching model except that Git expects heads
to have names and Hg does not. This one difference is responsible for
probably most of the UI differences between Hg and Git branching.
--
No trees were killed in the generation of this message. A large number
of electrons were, however, severely inconvenienced.
More information about the Mercurial
mailing list