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

non-recursive delete of directory tree fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • all
    • 1.1-consider
    • libsvn_wc
    • None

    Description

      $ svn mkdir wc/foo wc/foo/bar
      $ svn ci wc -m "create"
      $ svn rm wc/foo
      
      A non-recursive commit of both directories fails:
      
      $ svn ci wc/foo wc/foo/bar -N -m "commit fail"
      Deleting       wc/foo
      ../svn/subversion/libsvn_client/commit.c:747: (apr_err=160028)
      svn: Commit failed (details follow):
      ../svn/subversion/libsvn_repos/commit.c:114: (apr_err=160028)
      svn: Out of date: 'foo' in transaction '2'
      ../svn/subversion/clients/cmdline/util.c:348: (apr_err=160028)
      svn: Your commit message was left in a temporary file:
      ../svn/subversion/clients/cmdline/util.c:349: (apr_err=160028)
      svn:    '/home/pm/sw/subversion/obj/wc/svn-commit.tmp'
      
      A non-recursive commit of one directory fails post-commit:
      
      $ svn ci -N wc/foo -m "post-commit fail"
      Deleting       wc/foo
      ../svn/subversion/libsvn_client/commit.c:755: (apr_err=200000)
      svn: Commit succeeded, but other errors follow:
      ../svn/subversion/libsvn_client/commit.c:773: (apr_err=155005)
      svn: Error bumping revisions post-commit (details follow):
      ../svn/subversion/libsvn_wc/lock.c:643: (apr_err=155005)
      svn: Working copy '/home/pm/sw/subversion/obj/wc/foo/bar' not locked
      ../svn/subversion/clients/cmdline/util.c:348: (apr_err=200000)
      svn: Your commit message was left in a temporary file:
      ../svn/subversion/clients/cmdline/util.c:349: (apr_err=200000)
      svn:    '/home/pm/sw/subversion/obj/wc/svn-commit.2.tmp'
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            philipm Philip Martin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: