Changing existing subrepo mappings from absolute to relative paths

Mads Kiilerich mads at kiilerich.com
Thu Dec 15 13:26:37 UTC 2011


On 12/15/2011 02:19 PM, Angel Ezquerra wrote:
> I was not aware of the rule that subrepo mappings are always taken
> from the tip of the default branch. Is that the case?

No, not exactly.

a: Mercurial uses the .hgsub and .hgsubstate from the revision you are 
updating to (which is why the subrepo cloning/pulling is a side effect 
of updating to new revisions and not a direct side effect of 
cloning/pulling of the outer repo).

b: Mercurial clone will by default update to the default branch.

/Mads



More information about the Mercurial mailing list