On May 17, 2006, at 13:03, Saku Ytti wrote:
>>> My SVN alternative seems to be 'ls' the directory then 'cat' each
>>
>> I'm not familiar with CVS. You want to send multiple files from the
>> repository directly to stdout, all concatenated together? I don't
>> think Subversion does that. I only know "svn cat" which will output
>> one file to stdout.
>
> Yes, cat method is the one I explained, but it's quite suboptimal
> due to need of run svn instance for each file, quite expensive.
> But indeed that is what I want, concatane multiple files to stdout
> or just checkout to stdout (which will give extra stuff that I don't
> need, but can workaround easily).
>
> 'svn cat file:///foo/bar/*' would be optimal.
Well, I don't think there's anything like that. There are, however,
language bindings available for many languages, including Python,
Perl, Java, Ruby, C++, C# and PHP. You could probably write a script
in one of these languages which would do what you want, and due to
the language bindings it should be considerably faster than
repeatedly calling the svn command line client.
http://subversion.tigris.org/links.html#bindings
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 17 15:32:26 2006