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

Loading a dump of a copied binary file yields an empty file.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • all
    • 0.14.0
    • src
    • None

    Description

      Bug originally reported by FĂ©liciano Matias <feliciano.matias@free.fr>.
      
      Here's the recipe:
      
      --
      
      #!/bin/sh
      
      TEST_DIR=/home/cmpilato/tests
      REPOS_NAME=repos
      WC_NAME=wc
      
      rm -rf ${REPOS_NAME} ${REPOS_NAME}-new ${WC_NAME} ${WC_NAME}-new
      cd ${TEST_DIR}
      svnadmin create ${REPOS_NAME}
      svn co file://${TEST_DIR}/${REPOS_NAME} -d ${WC_NAME}
      cd ${WC_NAME}
      echo "coucou" | bzip2 > binary
      svn add binary
      echo "coucou" > text
      svn add text
      svn ci -m ''
      svn mv binary new-binary
      svn mv text new-text
      svn ci new-binary new-text -m ''
      svn ci -m ''
      cd ..
      svnadmin create ${REPOS_NAME}-new
      svnadmin dump ${REPOS_NAME} | svnadmin load ${REPOS_NAME}-new
      svn co file://${TEST_DIR}/${REPOS_NAME}-new -d ${WC_NAME}-new
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            cmpilato C. Michael Pilato
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: