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

Crash while breaking a move

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.x
    • Fix Version/s: 1.8.4
    • Component/s: libsvn_wc
    • Labels:
      None

      Description

      ECHO OFF
      
      SET ROOTDIR=%cd%
      SET ROOTDIR=%ROOTDIR:\=/%
      SET REPOS=revertcrashrepo
      SET REPOS_PATH=file:///%ROOTDIR%/%REPOS%
      SET WC=%ROOTDIR%/%REPOS%-wc
      set SVN=D:\Development\SVN\TortoiseSVN\bin\debug64\bin\svn.exe
      set SVNADMIN=D:\Development\SVN\TortoiseSVN\bin\debug64\bin\svnadmin.exe
      
      IF EXIST "%REPOS%" rmdir /s /q "%REPOS%"
      IF EXIST "%WC%" rmdir /s /q "%WC%"
      
      "%SVNADMIN%" create "%REPOS%"
      
      "%SVN%" co "%REPOS_PATH%" "%WC%"
      mkdir "%WC%"/folder1
      ECHO file1 > "%WC%"/folder1/File1.txt
      
      "%SVN%" add "%WC%"/folder1
      "%SVN%" ci -m "" "%WC%"
      "%SVN%" mv "%WC%"/folder1/File1.txt "%WC%"/File1.txt
      "%SVN%" rm "%WC%"/folder1
      
      pause
      
      :: crash here
      "%SVN%" revert -R "%WC%"/folder1
      
      pause
      

      http://svn.haxx.se/dev/archive-2013-10/0018.shtml

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rhuijben Bert Huijben
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: