Build 1689 mercurial subrepository error

Hi guys after updated to 1689 I'm geting the follow error:

C:\Program Files\TortoiseHg\hg.exe failed with return code 255 and error output abort: http authorization required (Args were : archive -r 5c9eb3e629cba99475a809acb5fdd17e2ff97d03 -X re:^((\^(\\|/)\.hgignore))$ --subrepos -R C:\ContinuaAgent\Repos\a7882681 C:\ContinuaAgent\Ws\1321\Source\ERx --config ui.username=Continua)


Something has broken :/

I've tryed in two windows 8 machines, the same error happens. It seens to not get the default subrepository user and pass from the hg config.


Double checked the mercurial.ini, everything is setup fine.

Ps.: I’m using https repository connection.

Hmm… nothing has changed in the mercurial support… however… I suspect this issue was there already. I’m not sure we actually support mecurial subrepositories… the export is done on the agent… which just has a clone of the server’s clone of the original repo. The agent would not have the credentials for the subrepos, unless it’s on the same machine as the server and using the same mecurial.ini.

We’ll need to investigate this some more… but I have to say that hg subrepos, git submodules and svn externals are causing lots of issues… mostly with authentication.

A quick look at the code tells me that for subrepos to work, the mercurial.ini needs to be configured on the agent machine.

Currently this agent is executing on the server.

What I’ve do,
1- Look at the continua service to see what user its using.
2- Loged on this user account and setup the mercurial.ini to auto logon to both my subrepos.
3- Logged off, accessed the continua ci interface and start a build.

Same error happens.
I will try to reebot the continua ci services, just to see if nothing was cached.

Just founded, the mercurial.ini was created in the domain user account, I’ve copy it to the local user account and it seens to work now.

I will do some more tests and report it here if anything happens.