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

svn cleanup fails on obstructed paths

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.x
    • Fix Version/s: 1.7.0
    • Component/s: cmdline client
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: