Page MenuHomePhabricator

clone: update to active bookmark, if set
ClosedPublic

Authored by danchr on Sun, Dec 20, 1:34 PM.

Details

Summary

This cannot happen during a normal Mercurial clone, but is useful for extensions like hg-git where we know what to check out — the Git HEAD — but do not wish to track it later on using the @ bookmark.

Test Plan

I have not included an explicit test, as this is much more easily tested within the hg-git test suite.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

danchr created this revision.Sun, Dec 20, 1:34 PM
danchr edited the summary of this revision. (Show Details)Tue, Dec 22, 7:29 AM
danchr edited the test plan for this revision. (Show Details)
danchr edited the summary of this revision. (Show Details)
pulkit accepted this revision.Sat, Jan 2, 11:19 AM
This revision is now accepted and ready to land.Sat, Jan 2, 11:19 AM
marmoute accepted this revision.Thu, Jan 7, 6:24 PM
marmoute added a subscriber: marmoute.

This looks good to me.