Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-815

Hg poll fails when there is no default branch

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • other
    • None
    • Platform: All, OS: All

      I have created my own hg repository by converting it from svn one. It does not
      have the "default" branch and as a result the poll seems to fail:

      Started on Sep 14, 2007 12:06:51 PM
      [workspace] $ hg id default
      Failed to check the tip revision
      null
      hudson.AbortException
      at
      hudson.plugins.mercurial.MercurialSCM.getTipRevision(MercurialSCM.java:80)
      at
      hudson.plugins.mercurial.MercurialSCM.pollChanges(MercurialSCM.java:56)
      at
      hudson.model.AbstractProject.pollSCMChanges(AbstractProject.java:526)
      at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:234)
      at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:266)
      at
      java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
      at java.util.concurrent.FutureTask.run(FutureTask.java:123)
      at
      java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
      at
      java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
      at java.lang.Thread.run(Thread.java:595)
      Done. Took 0 seconds
      No changes

      Moreover there seems to be on UI to configure the branch I want the hudson to
      use.

            Unassigned Unassigned
            jst jst
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: