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

Re: renaming an added (but not committed) file

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-08-08 16:16:41 CEST

On Aug 8, 2005, at 8:41 AM, A.T.Hofkamp wrote:

>
> PS in that respect, I don't understand why 'svn cp' would not be
> possible here. Is there some reason why svn cannot create a copy of
> x in the working copy (ie is there something fundamental against
> performing 'cp x y' in unix, then 'svn add y'?)
>

libsvn_wc cannot 'svn cp' something which is already copied. See the
end of this file for commentary:

   http://svn.collab.net/repos/svn/trunk/subversion/libsvn_wc/copy.c

I'm not sure why we can't 'svn cp' something that is merely 'svn
add'd though.

Regardless, this sort of stuff may be cleared up when we implement
True Renames.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Aug 8 16:18:31 2005

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

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