Boost logo

Boost :

From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2008-03-22 16:00:18


Jens Seidel wrote:
> On Sat, Mar 22, 2008 at 11:49:11AM -0500, Rene Rivera wrote:
>> Jens Seidel wrote:

> OK, let me restrict to the simple find and svn tools which should have
> counterparts on your system.

Oh, if the world where that simple. ;-) But I'll manage.

> Change into your trunk directory (which souldn't contain any changes)
> and start ($ indicates a shell prompt, don't enter it):
>
> $ find -type f -iname "*.html" -exec svn propdel svn:executable "{}" \;
> $ find -type f -iname "*.hpp" -exec svn propdel svn:executable "{}" \;
> $ find -type f -iname "*.cpp" -exec svn propdel svn:executable "{}" \;
> $ find -type f -iname "*.png" -exec svn propdel svn:executable "{}" \;
> $ find -type f -iname "*.qbk" -exec svn propdel svn:executable "{}" \;
>
> Only 297 files left :-)

Hm, that seems like a rather tedious route. This is a bit shorter and
covers all the cases we currently have in for our auto-props:

find . -regextype posix-extended -type f \
   -not -regex ".*[/][.]svn[/].*" \
   -not -regex ".*([.]pl|[.]py|[.]sh|configure)" \
   --exec svn propdel svn:executable "{}" ";"

> PS: The Subversion config file (on Unix: ~/.subversion/config contains a
> section [auto-props] which can ensure proper mime types and executable
> flags based on file name). Once properly set there should be not again
> such a situation. Also inspecting new files bevore an initial commit
> helps to ensure a proper state.

We have instructions for just that
<http://svn.boost.org/trac/boost/wiki/BoostSubversion#MIMETypesandEnd-Of-LineStyles>.
But as I mention in another post, it was likely the automated CVS->SVN
import that introduced the problems.

>
> Jens
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
>

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org (msn) - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim,yahoo,skype,efnet,gmail

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk