Uploaded image for project: 'Crucible'
  1. Crucible
  2. CRUC-1718

LiteSVN implementation returns incorrect rev for SCMRepository.getDiffRevisionKey()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 2.2.0
    • 2.0
    • Integrations
    • None

      The behaviour implemented on:

      https://extranet.atlassian.com/crucible/browse/contrib/crucible/crucible-svn-scm-plugin/trunk/src/main/java/com/atlassian/crucible/plugins/scm/svn/SvnSCMRepository.java?r=25396#l110

      is flawed and causes Crucible to mess up iterative reviews. When a new revision is added to the review, this method is called to identify the parent for that revision. Since this method simply returns "revid - 1", this often represents a changeset that is totally unrelated to the file we're looking for. This in turn causes Crucible to interpret the file a totally different file (rather than simply an extra revision to the existing frx) and creates a new frx for it.

              evzijst Erik van Zijst (Inactive)
              evzijst Erik van Zijst (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: