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

"svn st" SEGV after "svn mv --force" with missing source

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: 1.8.0
    • Component/s: libsvn_wc
    • Labels:
      None

      Description

      svnadmin create repo
      svn -mm import repo/format file://`pwd`/repo/f
      svn co file://`pwd`/repo wc
      rm wc/f
      svn mv --force wc/f wc/g
      touch wc/g
      svn st wc
      
      The move reports:
      
      $ svn mv --force wc/f wc/g
      A         wc/g
      svn: E000002: Can't move '/home/pm/sw/subversion/obj/wc/f' to
      '/home/pm/sw/subversion/obj/wc/g': No such file or directory
      
      The status SEGVs because NODES.moved_to is not set:
      
      $ sqlite3 wc/.svn/wc.db "select op_depth, local_relpath, moved_to, moved_here
      from nodes"
      0|f||
      0|||
      1|g||1
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              philipm Philip Martin

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment