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

svn cleanup fails on obstructed paths

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4.x
    • 1.7.0
    • cmdline client
    • None

    Description

      svn cleanup fails on obstructed paths:
      
      % mkdir repos
      % svnadmin create repos
      % mkdir wc
      % svn co file://`pwd`/repos wc
      % cd wc
      % svn mkdir foo
      % svn ci -m '' foo
      
      #fake a lock:
      % touch .svn/lock
      % svn st
        L    .
      
      #create an obstruction:
      % rm -rf foo/.svn
      % svn st
        L    .
      ~      foo
      
      #attempt cleanup
      % svn cleanup
      svn: 'foo' is not a working copy directory
      Exit 1
      
      % svn st
        L    .
      ~      foo
      
      At this point it becomes very difficult to recover short of finding and manually
      removing all .svn/lock files.
      

      Original issue reported by emiller

      Attachments

        1. 1_log.c.patch
          1 kB
          Subversion Importer

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: