Armin> What about having instead:

    Armin>     sys.build_info = ("CPython", <svn rev>, "trunk")

    Armin> This would make it clear that it's the CPython svn rev number,
    Armin> and it could possibly be used to distinguish between branches,
    Armin> too, which the revision number alone cannot do.  ("trunk" is the
    Armin> last part of the path returned by "svn info".)

What was your directory path when you got "trunk" from "svn info"?  In my
sandbox I get this:

    % pwd
    /Users/skip/src/python-svn/trunk
    % svn info
    Path: .
    URL: svn+ssh://[EMAIL PROTECTED]/python/trunk
    Repository UUID: 6015fed2-1504-0410-9fe1-9d1591cc4771
    Revision: 41708
    Node Kind: directory
    Schedule: normal
    Last Changed Author: trent.mick
    Last Changed Rev: 41708
    Last Changed Date: 2005-12-15 16:16:49 -0600 (Thu, 15 Dec 2005)
    Properties Last Updated: 2005-12-15 20:45:15 -0600 (Thu, 15 Dec 2005)

Did you mean the last part of the URL?

Skip
_______________________________________________
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