problems with subrepositories (and helix) cannot push

Uwe Brauer oub at mat.ucm.es
Tue Jul 13 13:50:55 UTC 2021


Hi 

I thought I understand sub-repositories but I am running into a problem.

I have a main repository let's call it TFG-2021

Inside I have 
TFM-2021
dir1/subrepo1
dir2/subrepo2
dir2/subrepo3

Or to make it more transparent

TFM-2021/dir1/subrepo1
TFM-2021/dir2/subrepo2
TFM-2021/dir2/subrepo3


So insider TFM-2021 I have created a 
.hgsub file that contains

subrepo1 == ../dir1/subrepo1 
subrepo2 == ../dir2/subrepo2
subrepo3 == ../dir2/subrepo3

I commited that edited .hgsub

Now in helix I have a project that contains three repositories 

TFG-2021
subrepo1
subrepo2
subrepo3

And I pushed to all the subrepos from within the subdirectories 

That is in 
TFM-2021/dir1/subrepo1 I pushed to subrepo1
TFM-2021/dir2/subrepo2 I pushed to subrepo1
TFM-2021/dir2/subrepo3 I pushed to subrepo1

Now when I want to push to TFM-2021 I obtain 
pushing subrepo subrepo1 https://oubucmes@helixteamhub.cloud/tiny-butterfly-778/projects/tfg-2021/repositories/mercurial/tfg-2021/%3D%20../dir1/subrepo2
abort: HTTP Error 404: Not Found


Of course the /%3D%20../dir1 is odd here

I also tried to use 


subrepo1 == ../subrepo1 
subrepo2 == ../subrepo2
subrepo3 == ../subrepo3



pushing subrepo subrepo1 to https://oubucmes@helixteamhub.cloud/tiny-butterfly-778/projects/tfg-2021/repositories/mercurial/tfg-2021/%3D%20../suprepo1
abort: HTTP Error 404: Not Found


I don't understand the %3S%20

So I tried 

subrepo1 == subrepo1 
subrepo2 == subrepo2
subrepo3 == subrepo3



pushing subrepo subrepo1 to https://oubucmes@helixteamhub.cloud/tiny-butterfly-778/projects/tfg-2021/repositories/mercurial/tfg-2021/%3D%20subrepo1
abort: HTTP Error 404: Not Found

That kills me, what shall I do?

Thanks

Uwe Brauer 



More information about the Mercurial mailing list