[vtk-developers] CVS keyword substitution and git

Brad King brad.king at kitware.com
Tue Apr 20 08:32:30 EDT 2010

Mark Olesen wrote:
> Is it really more than a one-liner though?
> git grep -l -e '^vtkCxxRevisionMacro' |\
> while read file
> do
>     perl -i -ne '/^\s*vtkCxxRevisionMacro/ or print' $file
> done

A few instances with long class names wrap onto multiple lines.
These could easily be fixed by hand though.

However, the change also involves replacing vtkTypeRevisionMacro
with vtkTypeMacro (back to where we were 9 years ago) and dealing
with the PrintRevisions method.


More information about the vtk-developers mailing list