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

RE: Finding files *lacking* a property

From: Dale Worley <dworley_at_pingtel.com>
Date: 2005-04-21 20:10:25 CEST

> From: Kenneth Porter [mailto:shiva@sewingwitch.com]
>
> I'm setting svn:eol-style in a large repository and I'd like
> to know which
> files lack this property so I can quickly spot new files
> added that failed
> to get this set. Can I do this with a svn command or do I
> need some fancy
> combinations of find and editor macros?

You can use "svn propget svn:eol-style -R ..." to get all the files that
*do* have the property, and "svn status -v ..." to get all the files. Then
sort both lists and use "comm" to get the files that do *not* have the
property.

I've attached a script from the sipX (http://www.sipfoundry.org)
distribution that enforces fairly strict rules for svn:eol-style and
svn:mime-type.

Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Received on Thu Apr 21 20:15:21 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.