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

          jglick Jesse Glick created issue -
          scm_issue_link SCM/JIRA link daemon made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          abayer Andrew Bayer made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 132791 ] JNJira + In-Review [ 201668 ]

            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: