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

commit segfaults when commit a copy with a deep deletion

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • trunk
    • 1.8.3
    • libsvn_ra_serf
    • None

    Description

      When using ra_serf against a server that does not support HTTPv2 if you commit a copy of a tree and delete a tree at 
      least 3 or more levels deeper within the copy (while not touching anything in the trees above the deleted tree and the 
      copy).
      
      Repo recipe:
      [[[
      SVNADMIN=svnadmin-1.8
      SVN=svn-1.8
      URL=http://127.0.0.1:8081/svn
      
      rm -rf repo
      rm -rf wc
      $SVNADMIN create repo
      $SVN co $URL wc
      $SVN mkdir --parents wc/a/b/c/d
      $SVN ci -mm wc
      $SVN up wc
      $SVN cp wc/a wc/a2
      $SVN rm wc/a2/b/c/d
      $SVN ci -mm wc
      ]]]
      
      The URL attached to the issue has a user report and some details.  The problem is that the logic in checkout_dir() to 
      handle implicit checkouts when a parent directory has been added is incorrect.  It only works when the parent of the dir 
      being checked out has itself been checked out.
      

      http://mail-archives.apache.org/mod_mbox/subversion-dev/201307.mbox/%3C51F18FA7.10108%40poradowski.com%3E

      Attachments

        Activity

          People

            breser Ben Reser
            breser Ben Reser
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: