Adding standard headers to source code...

2 messages Options
Embed this post
Permalink
Steve Lime

Adding standard headers to source code...

Reply Threaded More More options
Print post
Permalink
Guys: Silly question It there any trick to adding the standard header to source files or is it cut and paste from one of the
files that has it already, with a few edits to the first line. Working on provenance and want to add that to a few files.

Steve
Frank Warmerdam

Re: Adding standard headers to source code...

Reply Threaded More More options
Print post
Permalink
Steve Lime wrote:
> Guys: Silly question It there any trick to adding the standard header to source files or is it cut and paste from one of the
> files that has it already, with a few edits to the first line. Working on provenance and want to add that to a few files.

Steve,

Just cut, paste and edit.

There is a bit of svn magic to getting $Id$ expansion to work though.  If
not done previously I think you need to do something like:

  svn propset svn:keywords "Author Date Id Revision" your_file.c
  svn commit your_file.c

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, [hidden email]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org