[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: "svn relocate" corrupts the working copy

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Thu, 23 Jan 2014 13:23:20 +0000

Branko Čibej <brane_at_wandisco.com> writes:

> After relocating the working copy and performing a local copy, "svn
> info" crashes. I tested this with both trunk and 1.8.5, on OSX. I
> haven't had time to try to track this down yet.

A shorter recipe:

svnadmin create repo
svn mkdir -mm file://`pwd`/repo/A
svn co file://`pwd`/repo wc
mv repo repo2
svn relocate file://`pwd`/repo file://`pwd`/repo2 wc
svn cp -rhead wc/A wc/X
sqlite3 wc/.svn/wc.db "select local_relpath, repos_id from nodes"
|2
A|2
X|1

The copy is storing the wrong repos_id for the destination.

-- 
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*
Received on 2014-01-23 14:23:54 CET

This is an archived mail posted to the Subversion Dev mailing list.