Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-4444

diffing move inside a copy asserts

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: 1.8.5
    • Component/s: libsvn_wc
    • Labels:
      None

      Description

      Ryan Schmidt reports an assertion failure that triggers when a copied directory
      which has a moved file inside of it is used as target for 'svn diff'.
      
      $ svn st files/
      D  +    files/patch-Platform-Linux-Build-Common-Platform.x86.diff
              > moved to files/patch-ThirdParty-PSCommon-BuildSystem-Platform.x86.diff
      D  +    files/patch-Platform-Linux-CreateRedist-install.sh.diff
      D  +    files/patch-Source-OpenNI-XnOpenNI.cpp.diff
      A  +    files/patch-ThirdParty-PSCommon-BuildSystem-Platform.x86.diff
              > moved from files/patch-Platform-Linux-Build-Common-Platform.x86.diff  
      $ svn di files/
      Assertion failed: (kind == svn_node_file && (status == svn_wc__db_status_normal 
      || status == svn_wc__db_status_added || (status == svn_wc__db_status_deleted && 
      diff_pristine))), function svn_wc__diff_local_only_file, file subversion/libsvn_
      wc/diff_editor.c, line 959.
      Abort trap: 6
      
      Full report: http://svn.haxx.se/users/archive-2013-11/0034.shtml
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              stsp Stefan Sperling
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: