title: pysvn: How to get revision number?
body: <p>Using <a href="http://pysvn.tigris.org/docs/pysvn.html" rel="nofollow">pysvn</a> to handle my SVN source repository via Python. </p>
  
  <pre><code>path="C:/myrepository"
  client = pysvn.Client()
  revision = client.update(path)
  </code></pre>
  
  <p>How can I print <code>revision</code> number? </p>
  
  <p>This doesn't work:<br>
     <code>print "updated to revision %d" % revision.number</code></p>
  
  <p><code>Revision</code> documentation <a href="http://pysvn.tigris.org/docs/pysvn_prog_ref.html#pysvn_revision" rel="nofollow">here</a>. </p>