[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: C. Michael Pilato <cmpilato_at_collab.net>
Date: Thu, 06 Nov 2008 13:47:02 -0500

Philip Martin wrote:
> "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.

Kevin, were you testing over DAV?
Philip, were you *not* testing over DAV?

I recall an oddity with mod_dav in that an overwriting add gets transformed
under-the-hood into a delete and then an add, whereas a similar action
against svnserve or via ra_local would result in an "already exists" error.

C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on 2008-11-06 19:47:19 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.