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

commiting incomplete dir asserts post-commit

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.x
    • 1.7.2
    • libsvn_wc
    • None

    Description

      It's possible to commit an incomplete dir, say one with property mods.  The post
      commit client code fails:
      
      $ ci -mm wc
      Sending        wc/A/B
      
      Committed revision 5.
      ../src/subversion/libsvn_wc/adm_ops.c:177: (apr_err=235000)
      svn: E235000: In file '../src/subversion/libsvn_wc/adm_ops.c' line 177:
      assertion failed (status == svn_wc__db_status_normal || status ==
      svn_wc__db_status_added)
      Aborted
      
      'svn cleanup' recovers the working copy.
      
      The above was with an incomplete BASE dir, but I suppose the problem could also
      occur with an incomplete WORKING dir.  If we are going to allow commit of such
      dirs then the post-commit will need to preserve the incomplete state.
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: