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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • mercurial-plugin
    • None
    • Platform: All, OS: All

      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.

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

              Created:
              Updated:
              Resolved: