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

Re: [PATCH] Allow copy files that already copied

From: Aleksey Nogin <aleksey_at_nogin.org>
Date: 2005-12-06 10:54:11 CET

On 02.12.2005 15:10, kfogel@collab.net wrote:

> Ivan Zhakov <chemodax@gmail.com> writes:
>
>>Current libsvn_wc implementation disallow command sequence like this:
>>touch foo
>>svn add foo
>>svn ci
>>svn cp foo foo2
>>svn cp foo2 foo3
>>svn ci
>>
>>I propose to allow this and make foo3 take foo's URL as copyfrom-url.
>
>
> Hmmm. But why is that correct? foo3's copyfrom-url is not foo's URL,
> it's foo2's (but foo2 doesn't have a URL yet, really, so that's not
> quite right either).

Well, consider the above example, where both "svn cp" are replaced with
"svn mv". In that case, as far as the repository is concerned, foo2
never existed and using foo as copyfrom-url makes perfect sense.

-- 
Aleksey Nogin
Home Page: http://nogin.org/
E-Mail: nogin@cs.caltech.edu (office), aleksey@nogin.org (personal)
Office: Moore 04, tel: (626) 395-2200
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Dec 6 10:55:11 2005

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