Bookmarks usage survey
Stephen Lee
sphen.lee at gmail.com
Sun Apr 13 05:36:49 UTC 2014
Thanks for all the responses!
I'm going to try to summarise what I've gathered from this:
* Most people who are using bookmarks use them for "subbranches"
- In combination with named branches, but for smaller units of work
- Anonymous heads can do this too, but it gets confusing when
multiple people are all working - which head is which?
- It would be nice to be able to merge a bookmark subbranch with an
ancestor, to record the fact that a merge occurred (even it's only a
logical merge, not a DAG merge)
- Some way to prune old bookmarks, and propagate deletion would be nice too
* Documentation about how divergence works and should be resolved is lacking
- The behaviour is unwanted in some cases - a setting to ignore the
remote bookmark when it diverges?
* Bookmarks could be smarter.
- A flag at bookmark creation to push the bookmark to the server
automatically? (Easy to forget -B the first time you push the
subbranch)
- Behaviour of "hg up" is not ideal...
- A way to mark a bookmark as read-only so you do not accidentally
move it? Possibly even prevent the bookmark from being activated?
Usually because it's a remote bookmark, or a special bookmark like
@. This flag could cause "hg up @" to warn and suggest creating a
local writable bookmark.
When I have some more time I will try to tackle some of these issues.
Steve
More information about the Mercurial
mailing list