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

Wrong URL Changeset URL in Browser

    XMLWordPrintable

    Details

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

      Description

      Hello,

      I have built the newest mercurial-plugin from CVS (well, not exactly CVS as I converted the Hudson CVS to
      mercurial ;-, see http://friedenhagen.net:8000/). Now I have setup a local hgweb (i.e. I have several mercurial
      repos available served by one hg serve call).
      I have set up a new job called japextest with a mercurial URL http://localhost:8000/japextest and set the repository browser to http://localhost:8000/japextest/ as well.
      When I visit the Changes page, I see my log entries for my change sets and after the fix for the author field even
      my name . The change-set identifiers are correct, however links to
      http://localhost:8000/rev/d8821ded3fbc instead of the correct http://localhost:8000/japextest/rev/d8821ded3fbc

      Best Regards
      Mirko

        Attachments

          Activity

          Hide
          jglick Jesse Glick added a comment -

          Michal Zlamal is unable to post to this form, but he writes:

          "The trailing slash is added automatically in Hgweb constructor."

          Show
          jglick Jesse Glick added a comment - Michal Zlamal is unable to post to this form, but he writes: "The trailing slash is added automatically in Hgweb constructor."
          Hide
          mzlamal mzlamal added a comment -

          Created an attachment (id=155)
          Proposed patch

          Show
          mzlamal mzlamal added a comment - Created an attachment (id=155) Proposed patch
          Hide
          mfriedenhagen Mirko Friedenhagen added a comment -

          Hm, as you may see in the attached Changes-Page, the correct Changeset URL is
          not calculated even if I add an explicit slash at the end of the repo- and
          repo-browser-URL ...

          Show
          mfriedenhagen Mirko Friedenhagen added a comment - Hm, as you may see in the attached Changes-Page, the correct Changeset URL is not calculated even if I add an explicit slash at the end of the repo- and repo-browser-URL ...
          Hide
          kohsuke Kohsuke Kawaguchi added a comment -

          Applied the patch in 1.7

          Show
          kohsuke Kohsuke Kawaguchi added a comment - Applied the patch in 1.7
          Hide
          mfriedenhagen Mirko Friedenhagen added a comment -

          Works.

          Show
          mfriedenhagen Mirko Friedenhagen added a comment - Works.

            People

            • Assignee:
              kohsuke Kohsuke Kawaguchi
              Reporter:
              mfriedenhagen Mirko Friedenhagen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: