info-cvs
[Top][All Lists]
Advanced

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

Re: merge mode for XML


From: Lee Sau Dan
Subject: Re: merge mode for XML
Date: 02 May 2002 09:33:45 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

>>>>> "Noel" == Noel Yap <address@hidden> 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                     李守敦(Big5)                    address@hidden(HZ) 

E-mail: address@hidden
Home page: http://www.informatik.uni-freiburg.de/~danlee


reply via email to

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