git - Mercurial clone should prefer heads without bookmarks -


i attempting reproduce git branching workflow in mercurial.

everything works well, except when user clones repository ends on feature bookmark because latest commit on "default" branch.

how "hg clone" update latest non-bookmarked changeset on "default" branch?

according http://mercurial.808500.n3.nabble.com/hg-update-should-prefer-heads-without-bookmarks-td4023171.html#a4023313:

[you] should investigate using @ bookmark if you're using bookmarks. plays same role bookmarks default branches.

this worked me. bookmark latest non-bookmarked changeset @ , subsequent clone operations work expected.


Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -