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

support copying a WC file to a WC file scheduled for deletion

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • all
    • 1.4.0
    • unknown
    • None

    Description

      When copying or moving a file to an existing file that has been marked
      for deletion or moving, the svn client gives an error because the
      text-base file for the to-be-deleted file is still there, and it
      cannot copy the new text-base file over it.
      
      Example:
      
      $ echo foo > a; echo bar > b; svn add a b; svn commit -m "" a b
      A         a
      A         b
      Adding         a
      Adding         b
      Transmitting file data ..
      Committed revision 16.
      
      $ svn rm a
      D  a
      
      $ svn cp b a
      
      apr_error: #22505, src_err 0 : <Access is denied.  >
        svn_io_copy_file: copying .svn/text-base/b.svn-base to
      .svn/text-base/a.svn-base
      
      This is using Subversion Alpha (0.14.0) from the Windows binary installer.
      Saurik notes this appears to be a Windows only issue.
      

      Original issue reported by elliot

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              subversion-importer Subversion Importer
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: