[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: default entry in cvswrappers

From: Larry Jones
Subject: Re: default entry in cvswrappers
Date: Fri, 25 Jan 2002 12:08:54 -0500 (EST)

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'
        * -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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]