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

Re: Help with batch svn command line [with only 1 commit revision]

From: Jay Crouch <jay_at_safestream.com>
Date: 2006-11-03 05:06:22 CET

Thanks, where is the 'root of the subversion source directory' in a FreeBSD
Port Install? Is there even one or does the Port system work differently...

Also, while this should take out 99% of my scenarios, I have 1 that is of
multiple imports - does mucc handle this and is just undocumented? Is there
something else that can?

On 11/2/06 10:00 PM, "Ryan Schmidt" <subversion-2006d@ryandesign.com> wrote:

>
> On Nov 2, 2006, at 20:00, Jay Crouch wrote:
>
>> Hi everyone - here is a bit of a weird question;
>>
>> I have basically implemented a front end for svn which operates
>> over the web
>> from which users can work with repositories.
>>
>> The biggie is that the web kit is interfacing with the repositories
>> directly
>> - not via a 'working copy'... I.e.:
>>
>> `svn import /path/to/uploaded_file file:///path/to/repo/`
>>
>> (think custom WebDav)
>>
>> Here is the question: how can I issue multiple svn command line
>> statements
>> in a batch job/transaction so that the revision # only increments
>> by one.
>>
>> I.e.: repo is at revision 3; I issue a svn import, then a svn copy,
>> then a
>> svn rename; repo is now at revision 6. I want it to be revision 4.
>>
>> (the specific sequence of statements is not important - its only a
>> quick
>> example).
>
> The standard Subversion command-line client ("svn") doesn't support
> that, so you may want to look into the multi-URL command-line client
> ("mucc" [1]) or using the Subversion libraries directly via any of
> the several language bindings available (in Python, Ruby, PHP, Perl,
> etc.)
>
>
> [1] http://svn.collab.net/repos/svn/trunk/contrib/client-side/mucc.c
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Nov 3 05:06:55 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.