• Mark Olesen's avatar
    Remove vtk(Cxx|Type)RevisionMacro · ecbbf7f7
    Mark Olesen authored
    The CVS $Revision$ keyword replacement will no longer maintain these
    macros automatically.  They were used only to implement CollectRevisions
    and vtkObjectBase::PrintRevisions, an API that was never used.
    
    Automated as follows:
    
      pass 0:
      catch templates
      ---------------
      $ git grep 'vtk\(Cxx\|Type\)RevisionMacro' | grep '<'
    
      pass 1:
      main changes
      ---------------
      $ git grep -l '^vtkCxxRevisionMacro' | while read file; do
        echo "$file" 1>&2
        perl -i -ne 'print unless (/^vtkCxxRevisionMacro/ and /\)/)' $file
      done
      $ git grep -l -e 'vtkTypeRevisionMacro(' | while read file; do
        echo "$file" 1>&2
        perl -i -pe 's/vtkTypeRevisionMacro/vtkTypeMacro/g' $file
      done
    
      pass 2:
      verify
      ---------------
      $ git grep 'vtk\(Cxx\|Type\)RevisionMacro'
    
    Fixed multi-line vtkCxxRevisionMacro and templates by hand.
    ecbbf7f7
vtkColorSeries.cxx 7.35 KB