[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: Alan Barrett <apb_at_cequrux.com>
Date: Fri, 7 Nov 2008 09:46:35 +0200

On Fri, 07 Nov 2008, Philip Martin wrote:
> I remain unconvinced about your patch; perhaps somebody else will
> venture an opinion?

My opinion is that you should know what you are doing. If you don't
know whether or not something exists before you overwrite it, or you
don't know what revision you want to copy from, then you should not be
using svnmucc.

If you do know what you are doing, then use

        svnmucc -m "${message}" \
                rm ${target} \
                mv ${source} ${target}

I think it's a bug that this sort of thing sometimes works even without
the "rm", depending on whether the target is a file or a directory.

I also think it's a misfeature that the svnmucc "mv", "put", "propset"
and "propdel" commands do not require a revision number to be specified;
I'd like them to fail if the target has been modified more recently than
a specified revision.

--apb (Alan Barrett)

---------------------------------------------------------------------
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-07 09:12:22 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.