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

Re: Directed add without checkout

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-04-05 00:38:07 CEST

On Apr 5, 2006, at 00:14, Garrett Rooney wrote:

> On 4/4/06, Chris Ajello <chris.ajello@redmccombsmedia.com> wrote:
>
>> The only problem with this is that it's grossly inefficient. I
>> would like
>> to be able to add files directly to a folder in the repository.
>> Can anyone
>> help me?
>
> The command line client does not provide a command to do it, but it
> could be implemented relatively easily via the RA layer, i.e. in a
> script using the perl, python, or ruby bindings. For a bit of example
> code that does a similar thing in C, see the tools/examples/svnput.c
> program in the subversion source tree.

Another option, if you're serving the repository with Apache, would
be to mount the repository as a WebDAV volume and just write the file
to the appropriate place. You wouldn't get to write a commit message,
but it should just about work, and is of course very easy to do, what
with not having to write any code to do it.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 5 00:39:11 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.