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

angularjs - Redirect to a new template in angular js -

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

Desktop Launcher for Python Script Starts Program in Wrong Path (Linux) -