I'm getting an error for a HG repo with "pattern matching" f-.* option. It's never really fired off the build, but I wasn't too concerned at the time as I was busy re-organising the code base. I go to checkin and nothing happened. KEBKAC, so I start looking around.
Cannot get new changesets for repository Iims-Bitbucket: Running hg.exe failed and threw exception : Running hg.exe failed with return code: 255 and error output: abort: unknown revision '22'!. (Args were : log -v --style=xml -R "C:\Continua\Rc\29bf3d81" -r "22: and !22") (Args were : log -v --style=xml -R "C:\Continua\Rc\29bf3d81" -r "22: and !22") This event has been reported 1954 times.
It's never worked on the branch, so I've setup a single Branch and reset the repository and reviewed the Trigger. However another error occurred, but against the "single branch I was trying to extract".
Cannot get new changesets for repository Iims-Bitbucket: Running hg.exe failed and threw exception : Running hg.exe failed with return code: 255 and error output: abort: unknown revision 'f-Singapore'! . (Args were : log -v --style=xml -R "C:\Continua\Rc\29bf3d81" -b "f-Singapore" -r "13: and !13") (Args were : log -v --style=xml -R "C:\Continua\Rc\29bf3d81" -b "f-Singapore" -r "13: and !13")
This event has been reported 3 times.
Ok so I finally see that are two repositories in continua point to the same HG repository at Bitbucket in the same project, hence the exceptions. So I make the change to the problem repository with a Continua project and get a funky Ajax error while doing it. Not sure I can interpret that one. However the trusty Continua Log tells me what's going on. A bug in part of the Continua MVC codebase.
Having multiple repos in Continua point to the same bitbucket repo should not be a problem, at least I cannot see how. I’m not sure what has happened there, but I suspect your cache is somehow invalid. If you open a cmd window and run hg log on the cache folder, does it have those revisions? Also, try resetting the repository and see if it recovers. If you are able to provide us access to the repo we can test it here tomorrow (send us the details by email), perhaps we can do a gotomeeting session to try and reproduce/resolve the problem.
As for the MVC error, I would love to know the steps to reproduce this, Dave M has been trying to reproduce this but no luck so far. Which browser were you using?
Browser - IE10. Repo is very sensitive app, so it’s not likely to be opened up. I’ll have a go with your HG idea’s and let you know.
There is something else fishy going on with the build with VS 2012 on Continua. The component is a VB.net DLL with Com Registry classes, which seems to be having problems with the Continua Security role the agent is using.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(3885,5): error MSB3216: Cannot register assembly “C:\Continua_WS\Ws\296\Source{REMOVED}\bin\Debug\Any\Iims.BL.dll” - access denied. Please make sure you’re running the application as administrator. Access to the registry key ‘HKEY_CLASSES_ROOT\Iims.BL.DatabaseConnection’ is denied.
Ok, so the Com Interop requires Continua actions to run at a higher privilege of “administrator” to edit parts of the registry. I’ll trying to avoid elevated privilege. I’ll have to think about how to achieve the Com Interop build part differently.