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

Re: svnlook changed

From: Stefan Haller <haller_at_ableton.com>
Date: 2004-11-04 16:37:00 CET

BRUGGEMAN Jens (JBRG) <Jens.Bruggeman@seco-m.be> wrote:

> I want to implement in the pre-commit an extra check to make sure every file
> has the property svn:eol-style=native. If not, the transaction is aborted
> and the user will be prompted with reason.
> But I have no idea how to check the property because the 'svnlook changed'
> does not show a property change.

Why not simply check the property for every file that has A or U in the
first column, and completely ignore the second column. It doesn't
really matter if the property has changed with this commit.

We have a similar pre-commit hook, and it appears to work well this way.

Stefan Haller
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Nov 4 16:37:54 2004

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.