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

diff link doesn't work with sventon 1.4

XMLWordPrintable

    • Icon: Patch Patch
    • Resolution: Fixed
    • Icon: Major Major
    • subversion-plugin
    • None
    • Platform: All, OS: All

      Looks like sventon have changed the commited revision parameter from commitrev
      to committedRevision. In order to work with 1.4 and preserve compatibility with
      1.3 versions both parameters (commitrev and committedRevision) should be present.

      patch:
      hudson-1.198/core/src/main/java/hudson/scm/browsers/Sventon.java
      62,63c62,63
      > return new URL(url,
      String.format("diffprev.svn?name=%s&commitrev=%d&committedRevision=%d&revision=%d&path=%s",
      > repositoryInstance,r,r,r,URLEncoder.encode(getPath(path))));

      < return new URL(url,
      String.format("diffprev.svn?name=%s&commitrev=%d&revision=%d&path=%s",
      < repositoryInstance,r,r,URLEncoder.encode(getPath(path))));

            Unassigned Unassigned
            lukaszracon lukaszracon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: