At 10:53 PM 12/16/2005 +0100, Fredrik Lundh wrote:

>fwiw, the official way to do this is to use svnversion:
>
>     http://subversion.tigris.org/faq.html#version-value-in-source
>
>(this also looks for local changes).

It looks like using 'svnversion -c . | cut -f2 -d":"' would get the 
most-recent committed version, plus the letter "M" if there are local 
changes.  That sounds like what we should be using.

That way, a build with local revisions would include "M", thus nicely 
addressing that issue as well.

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to