[krbdev.mit.edu #5768] set svn:eol-style property on a bunch of files
Ken Raeburn via RT
rt-comment at krbdev.mit.edu
Mon Sep 24 18:13:23 EDT 2007
Rev 19972 adds svn:eol-style to a bunch of files that didn't have it.
I pruned the suffixes bmp, gif, jpg, png, pdf, doc, ico, hlp, and set the property on any other
files that didn't have it.
find . \( \( -name .svn -o -name .\#\* -o -name \*~ -o -name \#\* -o -name
autom4te.cache -o -name \*.bmp -o -name \*.gif -o -name \*.png -o -name \*.jpg -o -
name \*.pdf -o -name \*.ico -o -name \*.doc -o -name \*.hlp \) -prune \) -o \( -type f -
print \) | sh /tmp/show-no-eol | awk -F: '{print $1}' | xargs svn ps svn:eol-style native
where /tmp/show-no-eol has:
#!/bin/sh
while read fname; do
if test "`svn pg svn:eol-style $fname`" = ""; then
echo $fname
fi
done
More information about the krb5-bugs
mailing list