#1573 New filter to suppress cvs tag differences

Not Scheduled
open
nobody
None
5
2013-02-28
2005-12-27
Marcus Börger
No

The attached filter allows to suppress CVS tag diffs.
That is it ignores anything between "$" <tagname> and
ending "$". E.g.:
$Id: Merge.cpp,v 1.103 2005/12/17 04:49:04 elsapo Exp

The above will internally be converted to "$Id$" so
that comparing to anotehr version results in no
difference here.

Any chance anybody can add the attached filter to cvs
or give me cvs access so i can do it myself?

Discussion

  • Marcus Börger
    Marcus Börger
    2005-12-27

    Full source of plugin

     
  • elsapo
    elsapo
    2005-12-28

    Logged In: YES
    user_id=1195173

    That's interesting -- is that lex output dumped into there
    (obviously no human wrote that). Also, there is an asm 3
    instruction in there in debug.

    But, actually, I think this could also be solved with a
    single regular expression filter -- if you took the cvs
    version of RCLocalizationHelper.dll, and renamed it, and
    edited its ini file (which specifies some regular expression
    rules), you can have it match a regular expression and
    substitute empty (or whatever) for the match.

     
  • Marcus Börger
    Marcus Börger
    2005-12-28

    Logged In: YES
    user_id=271023

    That's re2c (http://re2c.org) generated from the .re file.

     
  • Kimmo Varis
    Kimmo Varis
    2005-12-28

    Logged In: YES
    user_id=631874

    I'm not convinced we need this as plugin. Needed filefilter
    is given even in manual, and I think its better solution for
    most users.

    But I admit linefilters aren't very good, and have lots of
    problems too. So I can see usefulness of this plugin for
    some users. I'll leave decision for putting this into our
    CVS to Perry since he knows plugins a lot better. Or maybe
    we should add new download category for plugins and start
    adding new plugins there? We've discussed about that few
    times but maybe its finally time to do it?

     
  • Christian List
    Christian List
    2013-02-28

    • milestone: --> Not Scheduled