Proposal: make hg up update to @ if was absent
David Demelier
demelier.david at gmail.com
Mon Apr 28 11:57:41 UTC 2014
Hello,
I like to use bookmarks for short-lived developments. I usually set
bookmarks on code which may break existing features or similar. But I
also want that a default bookmark exists so that "normal" users are not
taking this bookmark by default.
It is said in the documentation that a bookmark named @ will be the
default once cloned. But it is not when you update on an existing
repository which have not this bookmark.
I think it would be nice if an existing repository (without any
bookmark) call hg pull ; hg up automatically switch to @ if one ore more
bookmarks are incoming.
Regards,
David.
More information about the Mercurial
mailing list