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