svninfo 0.6 reviewDownload
svninfo project can be used to extract the revision and file information provided by the Subversion revision control system. To pr
svninfo project can be used to extract the revision and file information provided by the Subversion revision control system.
To present the version information of a document, one needs to extract it from some kind of text inserted by the revision control system.
Subversion offers therefore the Id keyword, which is expanded by the Subversion update command and contains a lot of useful information. This information is made available through this package.
To maintain different versions of a document or to keep track on the development of one, the document is kept under a revison control system like SCCS, CVS, or Subversion. This package assumes you are using the Subversion system.
The information obtained from the expanded $Id: index.wml 1495 2005-10-03 10:35:31Z brucker $ string are
the revision number,
the date and time of the last Subversion co command, and
name of the user who has done this action.
For each of these items a macro is defined. When updating a file, the Subversion keywords should be contained in the updated source. Further, one has to set the Subversion property for keyword expansion of that file, e.g.
svn propset svn:keywords "Id" svninfo.dtx
svninfo 0.6 search tags