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

Hudson clones (never updates) when repo path ends with /

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: mercurial-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      If you specify /some/path/ as the repo "URL" [sic] in the Hudson configuration,
      it will clone & build your project, but subsequent builds will do a fresh clone.
      If you specify /some/path then it works. This is because Hg will store

      [paths]
      default = /some/path

      even in the first case.

      Probably MercurialSCM.source should be normalized to have no trailing slash, or
      the comparison to upstream should simply ignore differences in the presence of a
      trailing slash.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: