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

Re: 2 key features - can they be implemented or does anyone know a workaround

From: Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>
Date: 2007-08-16 23:00:58 CEST

Jay Crouch wrote:
> To Subversion developers:
>
> My company is using SVN to implement a Œweb based remote file system¹,
> complete with ACL and version tracking.
>
> We have run into a problem that I think requires a couple features to be
> added to the SVN project ­ so I¹m hoping you all can tell me if this could
> be incorporated into the next release or if there is another (quick) method.
>
> 1: Is there any way to upgrade the SVN command line utility to add an option
> like -f (for Force) to each of the following commands: copy, move, import.
> The option would cause the deletion the destination target prior to
> performing the operation in the case of copy & move and basically simulate a
> check in for the case of import. ***Import is the big one here for us.***

This sounds a bit like Issue 2727:
http://subversion.tigris.org/issues/show_bug.cgi?id=2727

> 2: Is there any kind of batch mode utility available (and if not, could one
> be created) that would allow us to chain multiple svn command line
> statements together, resulting in only a single revision increment upon
> completion of the sequence?
>
> I'm thinking something like the following:
> Svnbatch
> Svn copy URL URL
> Svn copy URL URL
> Svn delete URL
> Svn copy URL URL

There is a tool call mucc (or have we renamed it to svnmucc?), which
allows you to string multiple client operations together into one
commit:
http://svn.collab.net/repos/svn/trunk/contrib/client-side/svnmucc/ You
can build it from a standard subversion tarball, IIRC.

Additionally, Subversion 1.5 will allow multiple copy and move
operations in one client operation, e.g. svn cp *.c dir

Hope this helps,
-Hyrum

Received on Thu Aug 16 22:59:19 2007

This is an archived mail posted to the Subversion Dev mailing list.