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

switch after repo-wc copy "sqlite: Expected database row missing"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.8.x
    • ---
    • libsvn_wc
    • None

    Description

      Reported here:
      
      http://mail-archives.apache.org/mod_mbox/subversion-users/201410.mbox/%3C543D5D5D.2010407%40att.net%3E
      http://svn.haxx.se/users/archive-2014-10/0071.shtml
      
      Create a working copy with local copies/deletes. Do a repo-wc commit to make a
      tag. Switch to the tag. The switch fails with:
      
       svn: E200030: sqlite: Expected database row missing
      
      The local changes should produce tree-conflicts as they are attempts to
      add/delete nodes that have already been added/deleted in the tag.
      
      Problem observed with 1.8, appears to have been fixed on trunk.
      
      #!/bin/bash
      
      cd /tmp
      svnadmin create repo
      svn co file://`pwd`/repo wc
      svn mkdir wc/trunk wc/trunk/d1 wc/trunk/d2
      echo hi > wc/trunk/d1/f1
      svn add wc/trunk/d1/f1
      svn ci -mm wc
      rm -rf wc
      svn co file://`pwd`/repo/trunk wc
      svn mv wc/d1/f1 wc/d2
      svn rm wc/d1
      svn cp -mm wc file://`pwd`/repo/newbranch
      svn switch file://`pwd`/repo/newbranch wc
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: