Philip Martin <philip.mar...@wandisco.com> writes:

> 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.

The copy does a temporary checkout to wc/.svn/tmp/svn-xxxx where the
repos_id of 1 is correct.  The subsequent wc-to-wc copy fails to adjust
the repos_id.  We need to determine the required repos_id and pass it
through to db_op_copy.

-- 
Philip

Reply via email to