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

Bug with missing scheduled-for-delete dir

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • trunk
    • 1.7.0
    • cmdline client
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: