[vtk-developers] CVS keyword substitution and git

Mark Olesen Mark.Olesen at faurecia.com
Tue Apr 20 02:39:45 EDT 2010

On Mon, 2010-04-19 at 18:25 -0400, Brad King wrote:
> Moreland, Kenneth wrote:
> > In a related question, what is the plan for the vtkCxxRevisionMacro,
> > which is in pretty much every VTK class right now?
> It won't be updated automatically anymore.  AFAIK no one ever used it
> because an alternative to its original purpose (serialization) was
> found at the time.
> I'm looking for a volunteer to *remove* it from every class in both
> VTK and ParaView.

Is it really more than a one-liner though?

git grep -l -e '^vtkCxxRevisionMacro' |\
while read file
    perl -i -ne '/^\s*vtkCxxRevisionMacro/ or print' $file

And subsequently a second "git grep vtkCxxRevisionMacro" to check that
we didn't miss anything and a final "git diff" to check that there were
no false positives.


This electronic transmission (and any attachments thereto) is intended solely for the use of the addressee(s). It may contain confidential or legally privileged information. If you are not the intended recipient of this message, you must delete it immediately and notify the sender. Any unauthorized use or disclosure of this message is strictly prohibited. Faurecia does not guarantee the integrity of this transmission and shall therefore never be liable if the message is altered or falsified nor for any virus, interception or damage to your system.

More information about the vtk-developers mailing list