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

Re: [BOOK-PATCH] Add replace in possible status of svn status

From: Marcel Gosselin <marcel.gosselin_at_polymtl.ca>
Date: 2005-03-31 14:16:27 CEST

Max Bowsher a écrit :

> Marcel Gosselin wrote:
>>> Hi,
>>> I noticed that in the svn status section, there were no mentions of the
>>> "Scheduled for replace" status.
> Actually, I don't think it is possible to get a WC item into a
> "replaced" state at the moment. I believe this is because we cannot
> store both the old and new text-base in the current wc format.
> Try it:
> svn rm foo
> svn cp bar foo
> *** ERROR

Here is a reproduction recipe:

>echo Replace test > test.txt
>svn add test.txt
A test.txt

>svn ci -m "replace test" test.txt
Adding test.txt
Transmitting file data .
Committed revision 19.

>svn mv test.txt test2.txt
A test2.txt
D test.txt

>echo Replace test 2 > test.txt
>svn add test.txt
A test.txt

>svn st
A + test2.txt
R test.txt


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 31 14:17:39 2005

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.