Originally my subrepo's were defined with an absolute URL in .hgsub
, which is now causing some trouble. It makes "friendly dictator" workflow impossible since I want to use an intermediate server where users clone their working copies from. Then I would pull changes to the intermediate server before pushing them to the master repository (intermediate server is also the continuous integration host, thus I won't pull stuff directly to the master). The absolute paths prevent this as the cloned repo's would be pushed directly to the master.
Now the problem is that my hg
server spews out 404 errors when I try to push my changes made in the .hgsub
file. Below is an example of a change I made
# original subrepo definition
common = http://hgserver/disp/common
# and after the change
common = common
This does not work, it spews out the following error
$ hg push
pushing to http://hgserver/disp
pushing subrepo common
abort: HTTP Error 404: Not Found
Is is possible to change the subrepo configuration in this way or do I have to recreate the whole repository?