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

Re: Replacing a removed file

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-05-30 15:32:23 CEST

Mathias.Weinert@gfa-net.de writes:

> Can anybody tell me why subversion acts different if I remove a file and
> add a file with the same name in the same commit (this results in a 'R'
> status) or if I remove the file and try to do an 'svn cp' where the target
> is the removed file (this results in an warning/error)?

'svn rm' leaves the text-base until after the commit, 'svn add'
installs the new text-base after the commit but 'svn cp' installs it
before the commit. There is no code to handle two text-bases
simultaneously.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon May 30 21:47:21 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.