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

html - height not adding height to a empty div -

Oracle SQL. How to select specific IDs where value of columns specify criteria? -

python - Robot Framework location and name of keyword -