[wx-dev] .cvsignore to svn migration?

Robin Dunn robin at alldunn.com
Tue Jun 26 13:45:01 PDT 2007


Vadim Zeitlin wrote:
>  Hi (Robin),
> 
>  Should we migrate .cvsignore files contents to svn properties and remove
> them? If we want to do it automatically, here is the 1 (well, 3) liner to
> do it
> 
> find -name .cvsignore | while read file; do
>     svn propset svn:ignore "`cat "$file"`" "`echo "$file" | sed 's,/[^/]*$,,'`"
> done
> 
> (shamelessly stolen from http://sam.zoy.org/writings/programming/svn2cvs.html)
> 
>  But then I'm not sure if we really want to do this automatically as there
> is probably a lot of old and out of date stuff in our .cvsignore files.

There is.  I used them a while back for generating part of my .hgignore 
file for Mercurial and ended up with lots of crud.

> As it really doesn't make sense to continue storing them in svn, we could
> try just removing them -- and then setting the svn:ignore property manually
> where needed.
> 
>  What do you think?

Sounds good to me.

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wx-dev mailing list