Problem using subrepos

eric.m.lafrance at eric.m.lafrance at
Thu Jun 2 18:02:50 CDT 2011

Mads, Scott

I was able to finally make my subrepo work.

Under Windows, when you clone a repo into another one, with the intent of 
using it as a subrepo, you need to use the form "file:///<absolute path>". 
The same is applicable when generating the .hgsub file (i.e. 
"lib=file:///d:/temp/lib", in my case).

The other solution that worked was to run "hg serve" on my library, then 
run "hg clone" and configure the .hgsub file using the URL provided by hg 

Thanks for your help ;)

Eric Lafrance
Software Developper
ABB Bomem Inc.
Phone: +1 418 877 2944 ext.444
Telefax: +1 418 877 2834 
email: eric.m.lafrance at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Mercurial mailing list