News for hackers. Stuff that matters.
Re:Scaling Mercurial at Facebook by masklinn on Tuesday January 07, 2014 @05:44PM (#7020528)
Mercurial's equivalent to git branches (movable pointer to a commit rather than embedded commit metadata) is bookmarks.
Re:Scaling Mercurial at Facebook by fhd2 on Wednesday January 08, 2014 @03:08AM (#7022342)
From what I've seen, bookmarks are not "branches" in any sense, really just pointers to commits.

I've tried several times to use bookmarks for feature branches (read: branches developed in parallel to each other and the default branch). I thought I just can't figure it out, but it really seems impossible at this point.

Re:Scaling Mercurial at Facebook by masklinn on Wednesday January 08, 2014 @04:49AM (#7022609)
> From what I've seen, bookmarks are not "branches" in any sense, really just pointers to commits.

That's exactly what git branches are.

Re:Scaling Mercurial at Facebook by michal8181 on Wednesday January 08, 2014 @03:46PM (#7026482)
Branches in git are exactly pointers to graph. If you delete such a pointer you loose your branch.

Even worse - with next git gc you will loose your data as parts of graph with no pointer is assumed to be dead by git.