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

Re: [Issue 1273] Changed - svn cp corrupts *two* repositories

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-04-30 20:49:42 CEST

Ben Collins-Sussman <sussman@collab.net> writes:

> The way 'svn cp URL wc' works now is:
>
> * in the case of a single file, do an RA->get_file(), and examine
> the two repository UUIDs. If they match, schedule the file for
> addition-with-history. Otherwise just schedule for addition.

The "addition-with-history" bit doesn't appear to work

rm -rf repo1 wc1

svnadmin create repo1
svn co http://localhost/tmp/repo1 wc1
svn mkdir wc1/foo
echo zig > wc1/foo/zig
svn add wc1/foo/zig
svn ci wc1

svn cp http://localhost/tmp/repo1/foo/zig wc1/foo/zig2
svn cp wc1/foo/zig wc1/foo/zig3
svn st wc1
svn ci wc1
svn log -r2 -v wc1

Only the wc->wc copy has history.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Apr 30 20:50:35 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.