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

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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.

            Assignee:
            Kohsuke Kawaguchi
            Reporter:
            Jesse Glick
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: