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

Re: how to get filename parameters in hooks

From: kailash vyas <vyaskr_at_gmail.com>
Date: 2007-07-02 17:46:46 CEST

But that might give me multiple files with the same revision number. Is
there a way which gives me the latest file which was commited using svnlook.
I found in the docs that you can use --transaction (-t) for getting
information about particular transaction but can i get the transaction id in
hook scripts.

Best Regards,
Kailash

On 02/07/07, Andy Levy <andy.levy@gmail.com> wrote:
>
> On 7/2/07, kailash vyas <vyaskr@gmail.com> wrote:
> > Hi
> >
> > I am new to subversion and wanted some help regarding usage of hooks.
> > I have to export the project filename to some remote location after
> > commiting.
> > But i am not able to get filename and path of the file commited.
> > I get the repository name and revision using post-commit but dont know
> how
> > to get the filename.
>
> svnlook changed <repository_path> -r <revision_num> will list all
> items which were changed in that revision.
>
Received on Mon Jul 2 17:46:48 2007

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.