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

cannot commit replacement of file with props

    XMLWordPrintableJSON

Details

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

    Description

      I have a directory of .gif files that were added. SVN automatically
      assigned them a mime type of application/octet-stream. I did not
      bother to change that.
      
      When I attempt to replace a file with a text file, it breaks:
      
      [gstein@roshi htmlroot]$ svn rm tongue.gif
      D  tongue.gif
      [gstein@roshi htmlroot]$ cp ../INSTALL tongue.gif
      [gstein@roshi htmlroot]$ svn add tongue.gif 
      _  tongue.gif
      [gstein@roshi htmlroot]$ svn commit -m "replaced a binary file"
      Replacing       htmlroot/tongue.gif
      
      subversion/libsvn_client/commit.c:585
      apr_error: #2, src_err 0 : <No such file or directory>
        Commit failed (details follow):
      
      subversion/libsvn_subr/io.c:205
      apr_error: #2, src_err 0 : <No such file or directory>
        svn_io_copy_file: copying
      /home/gstein/testing/local-test-repos/PikiePikie/htmlroot/.svn/props/tongue.gif
      to
      /home/gstein/testing/local-test-repos/PikiePikie/htmlroot/.svn/tmp/props/tongue.gif
      [gstein@roshi htmlroot]$ 
      
      There is a .svn/prop-base/tongue.gif.svn-base, but no
      .svn/props/tongue.gif. .svn/tmp/props exists, so the problem is
      definitely the missing source file.
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            gstein Greg Stein
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: