hg clone not cloning nested subrepos?

Thomas Schmidt thomas.schmidt at gmail.com
Mon Apr 2 08:50:08 UTC 2012


Hi guys,

i would like to have a repo structure like this:

mainrepo (has a .hgsub with reference to subrepo1, subrepo2, subrepo3)
--subrepo1
--subrepo2
--subrepo3 (has a .hgsub with reference to subrepo3.1)
----subrepo3.1

All paths in .hgsub are trivial paths aka subrepo1 = subrepo1 and so forth

All works well untill i try to clone the mainrepo with a "hg clone mainrepo 
mainrepo-clone", it simply ignores "subrepo3.1" which is nested under 
"subrepo3", all other subrepos are cloned perfectly. According  to all the 
documentation i have read so far it should do this recursively, but this 
doesnt appear to be the case.

How do i get it to include the "subrepo3.1" when cloning?




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20120402/477b8f00/attachment-0002.html>


More information about the Mercurial mailing list