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

update left with incomplete dir after upgrade with a missing subdir

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • ---
    • 1.7.0
    • libsvn_wc
    • None

    Description

      Checkout a 1.6 working copy and "rm -rf" a subdir, then upgrade:
      
      svnadmin create repo
      svn mkdir -mm file://`pwd`/repo/A
      svn co file://`pwd`/repo wc
      rm -rf wc/A
      svn-1.7 upgrade wc
      svn-1.7 up wc
      
      Updating 'wc':
      svn: E235000: In file '../src/subversion/libsvn_wc/update_editor.c' line 1563:
      assertion failed (action == svn_wc_conflict_action_edit || action ==
      svn_wc_conflict_action_delete || action == svn_wc_conflict_action_replace)
      Aborted
      
      Not sure what's wrong, the wc.db looks like:
      
      $ sqlite3 wc/.svn/wc.db "select op_depth, local_relpath, presence from nodes"
      0||normal
      0|A|incomplete
      
      Perhaps the problem is incomplete children of normal parents?  An interrupted
      1.7 checkout tends to leave the parent incomplete as well as the child.
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: