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

Is it possible to overwrite a file with a copy of something else in a single commit?

From: Aleksey Nogin <aleksey_at_nogin.org>
Date: 2005-11-08 00:08:37 CET

Currently, if I try to overwrite a file with a copy of something else, I
get the following error message:

svn: 'foo' is scheduled for deletion; it must be committed before being
overwritten

While this limitation may be reasonable from the implementation POV,
this is quite bad from the user's POV - basically, it is telling me that
the only way to do what I want is to commit a bogus intermediate
revision that would not even compile properly (as it would be missing a
needed file)!

Are there any plans for removing this limitation? Is there an issue
tracking this? TIA for any information.

P.S. A similar problem also exists for directories.

P.P.S. I have not tested anything past 1.2.3, but from looking at the
sources it appears that it is still present on the trunk.

-- 
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 Nov 8 00:09:25 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.