Configuration Using Plastic SCM calls hg.exe

Hi,

I’m having an issue with build configs I’ve set up to use a Plastic SCM repository.

At first I was having this issue on V1.7.1.177 - https://www.finalbuilder.com/support/forums/aft/15931

I’ve since updated to V1.8.0.227 and have the following problem.

I’ve configured this build to use a Plastic SCM repo but for some reason it is calling hg.exe (Mercurial) instead.

From Continua Timeline - Error updating cache for repository Main to changeset revision 625. Details: Running C:\Program Files\VSoft Technologies\ContinuaCI\Server\hg\hg.exe with arguments “-R C:\ContinuaCI\Rc\b373e7a7 branches --config ui.username=Continua --noninteractive --encoding cp1252” on server failed with return code 255 and error output: "abort: repository C:\ContinuaCI\Rc\b373e7a7 not found! "


I’ve sent an email to support@finalbuilder.com with a full debug log of the issue. There are multiple projects and configurations having this problem so plenty of examples.

Regards,
Sean

Hi Sean,

Thank you for sending the debug log. It appears that the .hg folder has been deleted from the repository cache at “C:\ContinuaCI\Rc\b373e7a7”. I can’t see any reason for this to happen unless it was removed by an external process. 

The .hg folder is integral to the operation of the server. Note that Continua CI uses Mercurial internally for caching repository files and as an efficent mechanism for transporting files from the server to the agents. The debug log shows that Continua CI is indeed using the Plastic SCM client to check for changesets but then is failing when preparing the repository cache before downloading the relevant files.

You should be able to recover the repository by clicking Reset on the Administration -> Repositories page. 


Dave,

Thanks for the reply but this hasn’t fixed the issue. As I mentioned, I’ve created multiple configurations and they’re all having this issue. I’ve checked in the file system and there isn’t a .hg folder there so that’s obviously a problem.

At what point should this folder appear? I’ve deleted and re-created a repository while watching the folder and it doesn’t appear to ever show up.

Just to clarify, I have turned on the option to view hidden files as well.

Thanks,
Sean

Hi Sean,

We’ve worked out what is happening now. We use an ignore.conf file when cleaning up the folder to ensurer that the .hg folder in not deleted. Your repository includes a ignore.conf file which is overwriting the one that we use. We will get this fixed up today.

Dave,

I think this issue is fixed in the build you sent me. I haven’t been able to get it to run successfully for other reasons but I’ve managed to get past the original error.

Thanks,
Sean