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

Re: Using svnlook to find the property that was changed

From: David Weintraub <qazwart_at_gmail.com>
Date: 2005-05-25 15:23:22 CEST

On 5/24/05, Ben Collins-Sussman <sussman@collab.net> wrote:
>
> On May 24, 2005, at 3:25 PM, David Weintraub wrote:
> > I'm playing around with hooks. I see I can figure out which files
> > changed, whether they were updated, deleted, or added. I can see if
> > their properties were modified, but I can't seem to find a way to see
> > which property was modified.
> >
> > Is there a way to see what properties on a file were modified
> > during a commit?
>
> 'svnlook diff -t TXN' should show them.
>
> But really, do you have to know exactly which props changed? Usually
> it's enough to simply look at the list of existing props on a file
> and detect badness. (Using 'svnlook proplist'.)

"svnlook diff -t $TXN" shows me that the properties were changed, but
not which property.

One of the things I'd like to do is not only give permissions on the
files (who can read or update files, and who can add new files to
directories), but also on the properties (who can add, delete, or
modify particular properties). This would be important if we want to
use properties for other types of metadata (like defect number, who
gets mail if a file was changed, etc.) I wouldn't want users to modify
a property that I am using strictly for CM purposes.

-- 
David Weintraub
qazwart@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 25 15:25: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.