[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: <kfogel_at_collab.net>
Date: 2005-12-03 00:10:52 CET

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

> Look to attached patch.
> Yes, I know it is bit confusing, but it is usefull, especially for
> refactoring.

I understand that this might make certain operations easier, but I
think we need solid theoretical grounding for any such change. Being
convenient (in some circumstances) is not the same as being correct.

-Karl

-- 
www.collab.net  <>  CollabNet  |  Distributed Development On Demand
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Dec 3 01:35:15 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.