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

RE: Post-commit hook question

From: Campbell, Matthew A <Matthew.Campbell_at_Relizon.com>
Date: 2004-07-14 18:10:38 CEST

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

This is an archived mail posted to the Subversion Users mailing list.