Since you're asking about doing this on a post-commit hook, I assume the PDF
autogeneration process runs on the same machine? If so, try 'svnlook cat
/path/to/repos /repos/path/to/project/and/specific_file.doc' and redirect
into disk file.
Alternatively, if your repository is hooked into apache, you could use
'wget' or similar on the URL for the file in question.
> -----Original Message-----
> From: news [mailto:news@sea.gmane.org]On Behalf Of Mitch Arends
> Sent: Wednesday, July 14, 2004 12:06 PM
> To: users@subversion.tigris.org
> Subject: Re: Post-commit hook question
>
>
> svn cat requires that I create a working directory. I was hoping to
> create a solution that is able to read contents directly from the
> repository and print them.
>
> Bryan Donlan wrote:
> > On Tue, 13 Jul 2004 15:08:01 -0500, Mitch Arends
> <mjarends@us.ibm.com> wrote:
> >
> >>Just wondering if someone would be able to give me a yes or no type
> >>answer to my question below.
> >>
> >>My department stores .doc and .ppt's in our SVN repository
> and we want
> >>to have PDF's autogenerated for us every time one of the
> aforementioned
> >>documents is committed to the repository.
> >>
> >>My question is: Is it possible to retrieve individual files from a
> >>repository? Is this possible using the SWIG-bindings and
> Python scripts?
> >>I've looked around and I'm pretty positive that it can't be
> done using
> >>the svn export command.
> >>
> >>Thanks in advance for any help given.
> >
> >
> > What about svn cat?
> > svn cat URL/file > file
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 14 18:16:11 2004