6 ms·
In my opinion branching _used_ to not be as neatly implemented as it is in Git, but that is no longer the case. A couple of versions ago a new feature was adde
by ezquerra 15y ago
In my opinion branching _used_ to not be as neatly implemented as it is in Git, but that is no longer the case.
A couple of versions ago a new feature was added into core mercurial, called "bookmarks". Mercurial bookmarks are the same as Git branches.
So now you can use the "git style branches" (i.e. bookmarks) in mercurial, or you can use the regular mercurial-style branches (which I personally prefer to git's anyway). In addition you can use "anonymous" branches, which AFAIK do not exist in git at all.
- pozorvlak 15y agoAnonymous branches are AFAICT the same thing as detached heads. They're discouraged in git, but they work fine.