Gökhan SEVER <gokhanse...@gmail.com> writes:

> One more question: After svn co completes checking out the main trunk it
> says:
>
> Checked out revision 7203.
>
> However when I do:
>
> In [1]: matplotlib.__revision__
> Out[1]: '$Revision: 6887 $'
>
> Which one is correct?

The svn output is arguably more correct. The matplotlib.__revision__
uses the svn $Revision$ keyword, and its content is only updated when
matplotlib/__init__.py changes, so it reflects the latest revision in
which that file was changed. It would be possible (but no-one has
probably thought it worthwhile) to make setup.py determine the overall
revision of the checked-out tree (which is more complicated than it
sounds, since it might not even be a single revision number; but there
is a program called svnversion that does this) and update __init__.py
accordingly.

-- 
Jouni K. Seppänen
http://www.iki.fi/jks


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to