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

Bug with missing scheduled-for-delete dir

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: 1.7.0
    • Component/s: cmdline client
    • Labels:
      None

      Description

      A scheduled-for-delete path is removed via system command or
      3rd party application. Depending on the contents of the working copy,
      this may not be recoverable using svn commands. 
      
      First reported:
      http://svn.haxx.se/dev/archive-2008-01/0137.shtml
      
      Recipe:
      
      rm -rf repos wc
      
      svnadmin create repos
      svn co file://`pwd`/repos wc
      touch wc/afile
      mkdir -p wc/dir/subdir
      svn add wc/*
      svn ci -m '' wc
      svn up -N wc
      svn lock wc/afile
      svn rm wc/dir
      mkdir wc/dir2
      rm -rf wc/dir 
      
      #Now we are hosed.
      svn up wc/dir
        svn: Directory 'wc/dir' is missing
      
      svn up -N wc/dir 
        svn: Directory 'wc/dir' is missing
      

      Original issue reported by emiller

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: