Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-5091

svn: Files added in revision 1 can have wrong added/removed linecounts

    XMLWordPrintable

Details

    • Bug
    • Resolution: Timed out
    • Low
    • N/A
    • 3.0.0, 3.1.0, 3.2.0, 3.3.0
    • None

    Description

      If a repository has a path set, files added in revision 1 can have their added/removed lines set correctly.

      HTR:

      1. Take the repo from FECRU-3452 (https://jira.atlassian.com/secure/attachment/92774/branchtest.zip)
      2. Unpack, add to fecru, use path 'our'
      3. Index
      4. Line count in revision 1 for is wrong:
      3.0 2.10

      This is caused by svn returning a full path (with us/) when doing

      svn diff -r 0:1 file:///home/lukpater/tmp/repos/branchtest/us@1
      Index: us/trunk/b
      ===================================================================
      --- us/trunk/b	(revision 0)
      +++ us/trunk/b	(revision 1)
      @@ -0,0 +1,3 @@
      +1
      +2
      +3
      

      and the path not being found in Svn2InfillProcessor.processDiffPaths() (combined diff path. It seems to work fine when doing a file-by-file diff.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              lpater Lukasz Pater
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: