[vtk-developers] CVS keyword substitution and git

Moreland, Kenneth kmorel at sandia.gov
Tue Apr 20 11:34:26 EDT 2010

Yea!  Mark volunteers to make the change! ;-)

On 4/20/10 12:39 AM, "Mark Olesen" <Mark.Olesen at faurecia.com> wrote:

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.

   ****      Kenneth Moreland
    ***      Sandia National Laboratories
*** *** ***  email: kmorel at sandia.gov
**  ***  **  phone: (505) 844-8919
    ***      web:   http://www.cs.unm.edu/~kmorel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20100420/f351794b/attachment.html>

More information about the vtk-developers mailing list