Hg update should prefer heads without bookmarks

Arne Babenhauserheide arne_bab at web.de
Fri May 29 23:56:12 UTC 2015


Am Freitag, 29. Mai 2015, 11:31:20 schrieb cowwoc:
>   * Updating
>     http://draketo.de/light/english/mercurial/complete-branching-strategy#fn:bookmarks
>     because it is no longer true

Thanks for linking it! I updated it to say:

[^bookmarks]: This model does not use bookmarks, because they don’t offer benefits which outweight the cost of introducing another concept: If you use bookmarks for differenciating lines of development, you have to define the canonical revision to clone by setting the `@` bookmark. For local work and small features, bookmarks can be used quite well, though, and since this model does not define their use, it also does not limit it.  
Additionally bookmarks could be useful for feature branches, if you use many of them (in that case reusing names is a real danger and not just a rare annoyance) or if you use release branches:  
“What are people working on right now?” → `hg bookmarks`  
“Which lines of development do we have in the project?” → `hg branches`

Best wishes,
Arne
--
singing a part of the history of free software: 

- http://infinite-hands.draketo.de

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 299 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20150530/939da16d/attachment.asc>


More information about the Mercurial mailing list