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

Re: Help with Hook Script: Can't lookup file property on the commit transaction

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-06-16 11:41:04 CEST

On Wed, 15 Jun 2005, David Weintraub wrote:

> I am currently writing a hook script that will do three things:
>
...
> 3). Verify that properties are correctly set on a file.
>
...
> I don't get the value of the property:
>
> $ svnlook propget -t $TXN $REPOS svn:eol-style $FILE
>
> The $TXN and $REPOS is passed to me by the hook. The $FILE name I get
> from the "svnlook -t $TXN changed" command.
>
> Is there a problem getting a property from a file via the transaction
> number? It appears that Subversion is pulling the current property off
> of the file and not the property I'm setting through the transaction.
>
I tested this and it worked using FSFS. Does svnlook say anything on
stderr?

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 16 11:42:56 2005

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.