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

Interrupting an update of subdirectories get the WC out of sync, directories were checked out nonrecursive

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Duplicate
    • all
    • unscheduled
    • libsvn_wc
    • None

    Description

      Hello,
      
      I made an checkout nonrecursive for a certain directory.
      Then I made an "svn up subdir" and cancel it with ctrl-C.
      An additional cvs up subdir gets only the remaining file 
      of a subsubdirectory but not my subdir. svn cleanup dont
      work. The only think which works is deleting the whole
      directory.
      
      Its because the "non-recursive"-flag is still set in the directory?
      
      Here is a protokoll of my tries
      Im using svn-1.1-rc1. Server is linux, Client is WinXP with
      NTFS.
      
      d:wc> svn co -N svn://.../java
         # I need only some directories.
      d:wc> cd java
         # Now I want to get the whole java/tools-directory
      d:java> svn up tools
      A  tools
      A  tools\Utils.java
      A  tools\FileUtils.java
      A  tools\LastModifiedList.java
      A  tools\NewProperties.java
      A  tools\debug
      A  tools\debug\Test.java
      A  tools\debug\DebugView.java
      A  tools\debug\DebugMap.java
      A  tools\debug\DebugEntry.java
      svn: Caught signal
         # Upppsie, according to svn I should only rerun the command
      
      d:java> svn up tools
      A  tools\debug\Readme.txt
      Updated to revision 26737.
         # Ooyi, only one remaining file? 
         # Now java\tools\debug is ok.
         # java\tools is not complete (see below)
      
      d:java> svn up tools
      At revision 26737.
         # I dont believe it
      
      d:java> svn cleanup
         # Hope?
      
      d:java> svn up tools
      At revision 26737.
         # Hope gone :-(
      
      d:java> rm -r tools
      rm: remove `tools/.svn/entries', overriding mode 0444?
         # okokok
      d:java> yes | rm -r tools
         # the only working (bad not satisfying) solution
      
      d:java> svn up tools
      A  tools
      A  tools\Utils.java
      A  tools\FileUtils.java
      A  tools\LastModifiedList.java
      A  tools\NewProperties.java
      A  tools\debug
      A  tools\debug\Test.java
      A  tools\debug\DebugView.java
      A  tools\debug\DebugMap.java
      A  tools\debug\DebugEntry.java
      A  tools\debug\Readme.txt
         # Here are the remaining files...
      A  tools\BlobData.java
      A  tools\AsciiStringBuffer.java
      A  tools\ClobData.java
      A  tools\NewStringBuffer.java
      A  tools\threads
      A  tools\threads\ProcessThreadPool.java
      A  tools\threads\EWSThreadGroup.java
      A  tools\threads\PipeThread.java
      A  tools\threads\AsyncSocketCreator.java
      A  tools\threads\MemoryWatcher.java
      A  tools\threads\CommandLineInterface.java
      A  tools\threads\AsyncIterator.java
      A  tools\threads\DaemonThread.java
      A  tools\threads\TimerDaemonThread.java
      A  tools\threads\PipeThreadTimeout.java
      A  tools\threads\CommandLineThread.java
      A  tools\DbgUtils.java
      A  tools\Timezones.java
      A  tools\UUIDGenerator.java
      A  tools\InputException.java
      A  tools\SequenceGenerator.java
      A  tools\DbgIdent.java
      svn: Caught signal
      
      d:java> svn up tools
      At revision 26737.
         # No, certainly not.... deleting again...
      

      Original issue reported by monti

      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: