beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlin Rogers" <carlin.rog...@gmail.com>
Subject Re: script for changing text file 'svn:eol-style' property to native
Date Wed, 10 May 2006 15:14:16 GMT
OK. Thanks for making the changes as well as sharing the script. I'll
squirrel it away for a rainy day.

Thanks,
Carlin

On 5/10/06, Eddie O'Neil <ekoneil@gmail.com> wrote:
>
> Carlin--
>
>   LOL.  it looks like there are a *lot* of NetUI files that have this
> problem.  I'm a major offender here (!) as I didn't fixup my SVN
> config file the last time I reimaged my machine.  My bad.  :)  As
> such, I've got tests running against changes to this using the script
> below.
>
>   Good catch...
>
> Eddie
>
> <snip>
> #!/bin/sh
>
> for i in `find . -type f ! \( -path "*.svn*" -o -name "*.jar" -o -name
> "*.jpg" -o -name "*.gif" -o -name "*.png" \)`; do
>     status=$(svn propget svn:eol-style $i)
>     if [ "$status" != "native" ]
>     then
>         echo "Setting 'native' eol style on $i"
>         svn propset svn:eol-style "native" $i
>     fi
> done
> </snip>
>
>
>
> On 5/9/06, Carlin Rogers <carlin.rogers@gmail.com> wrote:
> > Hey all,
> >
> > I noticed that there are some files sprinkled through the beehive svn
> > repository that do not have the 'svn:eol-style' property set to native.
> The
> > ones I noticed are very old, like...
> >
> > trunk/netui/test/webapps/drt/testRecorder/tests/B30458.xml
> > trunk/netui/test/webapps/drt/testRecorder/tests/BundleBasicError.xml
> > ...
> >
> > I was wondering if any of you already had a script to run to find and
> change
> > the files that do not have this property set?
> >
> > Thanks,
> > Carlin
> >
>
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message