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

wc-to-wc replace log file not rerunnable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • trunk
    • 1.7.0
    • libsvn_wc
    • None

    Description

      svnadmin create repo
      echo xx > xx
      svn import xx file://`pwd`/repo/foo -m ""
      svn import xx file://`pwd`/repo/bar -m ""
      svn co file://`pwd`/repo wc
      svn rm wc/foo
      svn cp wc/bar wc/foo
      
      The log file for the copy operation does several copy operations, including
      
      <mv
         dest=".svn/text-base/foo.svn-revert"
         name=".svn/text-base/foo.svn-base"/>
      ...
      <mv
         dest=".svn/text-base/foo.svn-base"
         name=".svn/tmp/text-base/foo.svn-base"/>
      
      If it gets interrupted after the second move, then when the log file is rerun it
      will overwrite the .svn-revert file and the wc is broken.  I don't think this
      can be fixed using the existing log operations, I think it needs a new operation
      that takes all three files and does both moves or no moves.
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              philipm Philip Martin
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: