RE: pre commit trigger
From: Bert Huijben <rhuijben_at_sharpsvn.net>
Date: Tue, 12 May 2009 13:45:34 +0200
In this case you can use -t <transaction> instead of -r <revision>. The
The revision number is only available after the commit.
Bert
From: Irfan Sayed [mailto:irfu.sayed_at_gmail.com]
Hi All,
i am using following command to check whether file is added or modified.
svnlook changed -r <revesion_no> <path_to_repo>
this command will give the changes related to revesion which is already
but my doubt is that how should i get the revesion no which is being
i believe that svnlook changed command only give me the file path name which
please advise
Regards
irf
On Mon, May 11, 2009 at 8:55 PM, David Weintraub <qazwart_at_gmail.com> wrote:
The Transaction number is a way of identifying the list of files that
$ svnlook log -r1234 repository/path
This will list all the files that were commited in revision #1234 of
$ svn log -r1234 file://repository/path
If I specify the transaction number, it will give me the log of the
TXN=$2
Now, I'll get the list of files that are in the subversion commit
By the way, I already have a Perl trigger that does this very thing.
The trigger also handles commit access on files, and protects your
You can get the trigger from <http://dl.getdropbox.com/u/433257/hooks.zip>.
On Mon, May 11, 2009 at 8:13 AM, Irfan Sayed <irfu.sayed_at_gmail.com> wrote:
-- David Weintraub qazwart_at_gmail.com ------------------------------------------------------ http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2211385 To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].Received on 2009-05-12 13:46:41 CEST |
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.