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

Re: checkout to stdout (cvs -p)?

From: Saku Ytti <saku+svn_at_ytti.fi>
Date: 2006-05-18 13:06:11 CEST

On (2006-05-18 10:56 +0200), Giovanni Bajo wrote:

> > I looked into SVN::Client, however it doesn't allow checking out
> > to an array, only to a filesystem. It also does not allow catting
> > to an array, only to a filehandle. It might have been acceptable
> > to do ls in perl and then cat in foreach loop.
> I'm confused. stdout *is* a filehandle. Didn't you want to cat to the standard
> output?

Yes, thats what I want. However I can happily 'cat' every file with SVN
binary itself in a lets say for loop generated from 'ls'.
Only difference in perl bindings would be, that I don't have to start
svn binary at all. But I would have to call the perl script inside
another script, so that I could get the data in perl array. While
what I'd like to do, is to directly either a) in perl put the data
in array or b) make svn binary output to stdout each file in directory.

Today what I do is call cvs binary in perl script to push
it to perl array.

> Giovanni Bajo

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu May 18 13:07:34 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.