[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: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-04-30 20:58:27 CEST

Philip Martin <philip@codematters.co.uk> writes:

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

What the....?

Dangit, file a new issue. I'll take a look at this later.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Apr 30 21:01: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.