>>>>> "Noel" == Noel Yap <[EMAIL PROTECTED]> writes:

    >> If CVS had away to use modular plug in "diff" and "merge"
    >> programs, we could setup a wrapper file that would
    >> automatically diff/merge the file differently based on the
    >> extension.  e.g.:
    >> 
    >> *.xml xml_dm *.html html_dm

    Noel> Ideally, the diff/merge tool would be tied to the type of

Please add also a keyword-substitution tool to the check list.


    Noel> the file and the type of the file is initially set depending
    Noel> on the extension.

No.  Not on extension, but based on *regular expressions*, or at least
shell-style   pattern  matching   expressions.   Extensions   are  too
simplistic.  (c.f. CVSROOT/cvswrappers,  CVSROOT/cvsignore) 


    Noel>   This way, one would be able to change the
    Noel> type of the file independent of its extension.

Yes.   Some mechanisms  like  ~/.mime.types plus  ~/.mailcap would  be
desirable.  But  one more complication  would be the version  of these
external programs.  Maybe, CVS needs to keep track of which version of
the tools  were used for which  file revisions, so as  to reliably and
faithfully reproduce any snapshot.


-- 
Lee Sau Dan                     §õ¦u´°(Big5)                    ~{@nJX6X~}(HZ) 

E-mail: [EMAIL PROTECTED]
Home page: http://www.informatik.uni-freiburg.de/~danlee
_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to