[Python-Dev] Freezing the CVS on Oct 26 for SVN switchover

Gary Herron gherron at islandtraining.com
Tue Nov 1 00:54:46 CET 2005


Guido van Rossum wrote:

>Help!
>
>What's the magic to get $Revision$ and $Date$ to be expanded upon
>checkin? Comparing pep-0352.txt and pep-0343.txt, I noticed that the
>latter has the svn revision and date in the headers, while the former
>still has Brett's original revision 1.5 and a date somewhere in June.
>I tried to fix this by rewriting the fields as $Revision$ and $Date$
>but that doesn't seem to make a difference.
>
>Googling for this is a bit tricky because Google collapses $Revision
>and Revision, which makes any query for svn and $Revision rather
>non-specific. :-(  It's also not yet in our Wiki.
>  
>
It's an svn property associated with the file.  The property name is 
svn:keywords, and the value is a space separated list of keywords you'd 
like to have substituted.  Like this:

svn propset svn:keywords "Date Revision" ...file list...

The list of keywords it will handle is
  LastChangedDate (or Date)
  LastChangedRevision (or Revision or Rev)
  LastChangedBy (or Author)
  HeadURL (or URL)
  Id

Gary Herron



More information about the Python-Dev mailing list