[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: Anders J. Munch <ajm_at_flonidan.dk>
Date: 2006-05-18 13:47:50 CEST

From Saku Ytti [mailto:saku+svn@ytti.fi]
> On (2006-05-18 12:19 +0200), Anders J. Munch wrote:
> > From: Saku Ytti [mailto:saku+svn@ytti.fi]
> >
> > > Quick scan of pysvn suggests same problem is there.
> >
> > Try reducing scanning speed :-)
> Oh super. I wonder why I can't(?) do that in perl[0]. Thats definitely acceptable
> solution, even though I need to call client.cat 4k times in worst cases.
> Just due to efficiency reasons don't want to call the script inside
> perl script so I have to consider porting the script.
> [0]
> $ctx->cat(\*FILEHANDLE, $target, $revision, $pool);
> Outputs the content of the file identified by $target and
> $revision to the FILEHANDLE.
> FILEHANDLE is a reference to a filehandle.

So what's a FILEHANDLE in perl? Can it be some sort of virtual file
that when written to builds up a string (like stringstream in C++ or
StringIO in python)? If it absolutely has to be an integer that
refers to some OS-level resource, you could perhaps create a pipe for
that, using a second thread to read from the pipe.

- Anders

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:48:51 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.