<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3059" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV dir=ltr align=left><SPAN class=625202601-04042007><FONT face=Arial 
color=#0000ff size=2>you can add keywords like $Revision: $</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=625202601-04042007><FONT face=Arial 
color=#0000ff size=2>what I do is put a line like </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=625202601-04042007><FONT face=Arial 
color=#0000ff size=2>_version = "$Revision: 15490 $"</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=625202601-04042007><FONT face=Arial 
color=#0000ff size=2>the 15490 was supplied on doing the 
commit.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=625202601-04042007><FONT face=Arial 
color=#0000ff size=2>In order to get it to work on svn you need to set 
properties on the file to accept specific keywords or it is possible to set it 
at the config level</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=625202601-04042007><FONT face=Arial 
color=#0000ff size=2>search for keywords and svn</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=625202601-04042007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=625202601-04042007><FONT face=Arial 
color=#0000ff size=2>You can use the special keywords like Id, Author ... 
similar to cvs, the differance is that you need to enable the properties on 
svn.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=625202601-04042007><FONT face=Arial 
color=#0000ff size=2><A 
href="http://svnbook.red-bean.com/en/1.0/ch07s02.html">http://svnbook.red-bean.com/en/1.0/ch07s02.html</A></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=625202601-04042007></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=625202601-04042007><FONT face=Arial 
color=#0000ff size=2>max</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> baypiggies-bounces@python.org 
  [mailto:baypiggies-bounces@python.org] <B>On Behalf Of </B>Ken 
  Seehart<BR><B>Sent:</B> Tuesday, April 03, 2007 5:39 PM<BR><B>To:</B> 
  baypiggies@python.org<BR><B>Subject:</B> [Baypiggies] Subversion file 
  tagging<BR></FONT><BR></DIV>
  <DIV></DIV>Anyone know how to configure subversion to make a commit 
  automatically update the contents of a particular file with the revision 
  number?<BR><BR>For example...<BR><I>svn_revision.py:</I><BR><PRE>svn_revision = 2213</PRE><BR><BR>The usage would be something like:<BR><PRE>from svn_revision import svn_revision

print "This is FooPy revision", svn_revision

</PRE></BLOCKQUOTE></BODY></HTML>