Integration with Kiln's Mercurial

Hello,

I'm trying to run TeamCity against Kiln's (http://www.fogcreek.com/Kiln/) Mercurial hosted repository, but for some reason I'm getting the following error:

jetbrains.buildServer.vcs.VcsException: Unable to find current version for the branch: default
at jetbrains.buildServer.buildTriggers.vcs.mercurial.MercurialVcsSupport.getCurrentVersion(MercurialVcsSupport.java:247)
at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.getCurrentVersion(VcsChangesLoader.java:95)
at jetbrains.buildServer.vcs.impl.VcsManagerImpl.getVersionsForAllRoots(VcsManagerImpl.java:394)
at jetbrains.buildServer.vcs.impl.VcsManagerImpl.loadChanges(VcsManagerImpl.java:434)
at jetbrains.buildServer.serverSide.impl.auth.SecuredVcsManager.loadChanges(SecuredVcsManager.java:31)
at jetbrains.buildServer.serverSide.impl.VcsModificationChecker$1.run(VcsModificationChecker.java:12)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)


I did a 'hg branches' and got the following response:
default                       12:74ef62216cd8

so I'm assuming the 'default' branch is the right option here.

Is there anything I did wrong? Could it be a problem on Kiln's side?

Thanks in advance,

Nadav

2 comments
Comment actions Permalink

Please enable debug logging (http://confluence.jetbrains.net/display/TCD5/Reporting+Issues#ReportingIssues-LoggingEvents) and attach here teamcity-vcs.log (or send it to teamcity-feedback[at]jetbrains.com)

0
Comment actions Permalink

I had the same problem initially, but was able to solve it by using the kiln  'repository' name as the branch name.

0

Please sign in to leave a comment.