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

svn cleanup should follow svn:externals references

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.x
    • Fix Version/s: 1.9.0
    • Component/s: libsvn_wc
    • Labels:
      None

      Description

      If an 'svn update' fails to complete (for example, you didn't notice it was
      prompting again for your ssh key to go get an svn:external url and things timed
      out) you're prompted to run 'svn cleanup' when you retry.
      
      However, 'svn cleanup' doesn't recurse into the svn:external checkouts, which
      are also locked, resulting in another prompt to run it manually in whatever
      subdirectory is still locked. It would be nice if cleanup just took care of
      everything for you.
      
      In summary, current behavior:
      
      % svn up
      svn: Working copy '.' locked
      svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)
      % svn cleanup
      % svn up
      
      Fetching external item into 'trunk/code/libxmpp/expat'
      svn: Working copy 'trunk/code/libxmpp/expat' locked
      svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)
      % cd trunk/code/libxmpp/expat
      % svn cleanup
      % cd ../../../..
      % svn up
      [update complete]
      
      suggested behaviour:
      
      % svn up
      svn: Working copy '.' locked
      svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)
      % svn cleanup
      % svn up
      [update complete]
      

      Original issue reported by rillian

        Attachments

          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: