Stephan Feder writes:
> 
> I would like to define -kb as default in cvswrappers and then list only
> file types that should be treated as text, like this:
> 
> * -k 'b'
> *.rtf -k 'kv' -m 'COPY'
> *.RTF -k 'kv' -m 'COPY'
> *.txt -k 'kv' -m 'MERGE'
> *.TXT -k 'kv' -m 'MERGE'
> 
> Will this work as defined, do I have to reorder entries, and are the
> patterns case sensitive?

CVS will use the first entry that matches, so you need to reorder to put
the more specific entries first and the more general entries last.  The
patterns are case sensitive, but you can use character classes to make
the specification easier.  Also, there's no need to specify -k or -m if
it matches the default.  So, the above could be:

        *.[Rr][Tt][Ff] -m 'COPY'
        *.[Tt][Xx][Tt]
        * -k 'b'

This doesn't work in client/server mode, however, unless you're running
the current development version of CVS on the client.

-Larry Jones

Whatever it is, it's driving me crazy! -- Calvin

_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to