I installed a mercurial server on one of my machines, cloned my project there, it has 3 subrepos, and when I try to clone it back to another place, I get an error message:
remote: mercurial-server: Can not create a repo in an existing repoabort: no suitable answer from remote hg!
remote: mercurial-server: Can not create a repo in an existing repo
abort: no suitable answer from remote hg!
So, I'm starting to think that mercurial-server is not processing subrepo.
Any clue?
I received a response from mercurial-server developers saying that they do not yet support it.
The new version, released in December 2010 , supports secondary repositories.
Their changelog never mentions subrepos .Also their documentation .
So itβs quite possible that they do not yet support this feature, but I donβt know for sure.
This post says disabling the "checkParents" code will support subppos support.
EDIT
I tried using it recently and it works great even without changing the default settings.
I found that you need to configure locations for any subsequences inside the settings file "mercurial.ini".
For subrepo named mysubrepo you need to add a line
[subpaths] mysubrepo = ssh:// hg@myserver /subrepolocation
Source: https://habr.com/ru/post/1311916/More articles:How to send an HTTP request to Delphi 2010 using WinInet - httpadd xml node to xml file using python - pythonNSIS Silent Install changes default settings - nsisIs iteration on the F # map or is the bypass set in order? - setADO / SQL Server: What is the error code for "timeout expired"? - sql-serverBeamer - make itemize (and occupied space) disappear - latexChecking code without deployment on Heroku - gitAdding scrollbar to sizer - scrollbarUniq in awk; removing duplicate values ββin a column using awk - bashSkip a parameter once, but use more times - pythonAll Articles