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

Mercurial plugin never pulls from repository

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Component/s: mercurial-plugin
    • Labels:
      None
    • Environment:
      Linux, Hudson ver. 1.381, mercurial-1.6.4-3.fc13.x86_64
    • Similar Issues:

      Description

      I'm trying to build Google Go from their Google Code Mercurial repository.

      https://go.googlecode.com/hg

      Configuration attached.

      Every week or so, they tag a new release. I then update my Hudson configuration to put something like "release.2010-10-20" as the branch (full config attached).

      However, when I build the project, the Mercurial plugin doesn't ever do a pull, so it doesn't find the new tag.

      The polling log:

      Started on Oct 21, 2010 12:01:12 AM
      [workspace] $ hg incoming --style /var/lib/hudson/jobs/go2/workspace/tmp8084111757104386232style --no-merges --rev release.2010-10-13.1 --newest-first
      comparing with https://go.googlecode.com/hg
      searching for changes
      no changes found
      Done. Took 2.5 sec
      No changes

      The build log:

      Started by upstream project "go2" build number 10
      Building on master
      [master] $ hg update --clean .
      0 files updated, 0 files merged, 0 files removed, 0 files unresolved
      [master] $ hg --config extensions.purge= clean --all
      [master] $ hg incoming --quiet --bundle hg.bundle --template "<changeset node='

      {node}' author='{author|xmlescape}' rev='{rev}' date='{date}'><msg>{desc|xmlescape}</msg><added>{file_adds|stringify|xmlescape}</added><deleted>{file_dels|stringify|xmlescape}</deleted><files>{files|stringify|xmlescape}</files><parents>{parents}</parents></changeset>\n" --rev release.2010-10-20
      [master] $ hg unbundle hg.bundle
      adding changesets
      adding manifests
      adding file changes
      added 52 changesets with 189 changes to 106 files
      (run 'hg update' to get a working copy)
      [master] $ hg update --clean --rev release.2010-10-20
      abort: unknown revision 'release.2010-10-20'!
      ERROR: Failed to update
      [master] $ hg log --rev . --template {node}

      Finished: FAILURE

        Attachments

          Issue Links

            Activity

            Hide
            jglick Jesse Glick added a comment -

            Tags or other fixed revisions are not currently supported, only branches.

            Show
            jglick Jesse Glick added a comment - Tags or other fixed revisions are not currently supported, only branches.

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                fullung fullung
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: