On 4/6/06, Matthew Good <[EMAIL PROTECTED]> wrote:
> On Thu, 2006-04-06 at 17:33 +0300, Andrew Tsymbala wrote:
> > Hi Folks!
> >
> > Have a 1 year old repo without svn:eol-line set for any files :( Yes, I
> > know that this is very bad ;-)
> >
> > Maybe someone have script to set svn:eol-style for all test files?
> > I tried to google for such script - no results for now :(
>
> The SVN source includes a script in contrib/ called
> svn_apply_autoprops.py that will apply the settings from your
> "auto-props" config to an existing working copy.  I had a few problems
> with the SVN one, so I wrote a new script to do the same thing, but more
> efficiently and with support for SVK:
> http://matt-good.net/2005/12/23/new-and-improved-svn-apply-autoprops-py-now-with-more-svk/
>
> There's a link there to the docs on "auto-props" if you're not familiar
> with them.

Matt,

Not to hijack the thread but I grabbed a copy of your script and tried
it out on my desktop (WinXP).  Hit a couple snags:

1) Couldn't find the config file
   This is a no-brainer, the script is written for *NIX, I understood
that about 2 seconds after I saw CFG looking at ~/.subversion :) . I
pointed CFG at %APPDATA%/Subversion/config instead.

2) Assuming that the python interpreter was able to see that
environment variable (bad assumption), it's not finding [auto-props]

If  #2 is a bad assumption, then I'll have to adjust #1.  I'll play
with it some more and if I get to something that does work, I'll let
you know off-list.  Maybe put an OS check into the script to make it
more universal?
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to