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

Re: [PATCH] make svnmucc consistently overwrite copy targets

From: Philip Martin <philip_at_codematters.co.uk>
Date: Thu, 06 Nov 2008 18:37:13 +0000

"Kevin Radke" <kmradke_at_gmail.com> writes:

> svnmucc would allow an user to use "CP REV SRC DST" when both SRC and
> DST URLs were directories. It would (silently) "replace" DST with
> SRC. When used with specific file names it would return an error that
> "DST already exists".

When I try the current trunk build the copy fails for both files and
directories. The svnmucc test suite is rather small and doesn't test
this behaviour so it may have been different in the past, but I'd be
surprised if it has changed.

> This simple patch makes it consistently "replace" the target no matter
> if it is a file or a directory. I believe this functionality is much
> nicer, since the user does not need to "check and delete if exists"
> before doing the copy operation.

I prefer the current error; I think it's better than replacing the
history of something that exists.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-11-06 19:37:46 CET

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.