diff options
author | Georg Brandl <georg@python.org> | 2011-03-06 09:35:42 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2011-03-06 09:35:42 (GMT) |
commit | 776e5861140957692db39fa63b6c1171ddb8508b (patch) | |
tree | 9dc319114adc9d14cc382292ae9c12cade2cdac4 /Modules | |
parent | fe09a54280a56a01402f4cb98c8c6cb4be89654a (diff) | |
download | cpython-776e5861140957692db39fa63b6c1171ddb8508b.zip cpython-776e5861140957692db39fa63b6c1171ddb8508b.tar.gz cpython-776e5861140957692db39fa63b6c1171ddb8508b.tar.bz2 |
Remove sys.subversion and svn build identification leftovers.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/getbuildinfo.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/Modules/getbuildinfo.c b/Modules/getbuildinfo.c index c70126d..a4d839e 100644 --- a/Modules/getbuildinfo.c +++ b/Modules/getbuildinfo.c @@ -20,14 +20,6 @@ #endif #endif -/* on unix, SVNVERSION is passed on the command line. - * on Windows, the string is interpolated using - * subwcrev.exe - */ -#ifndef SVNVERSION -#define SVNVERSION "$WCRANGE$$WCMODS?M:$" -#endif - /* XXX Only unix build process has been tested */ #ifndef HGVERSION #define HGVERSION "" @@ -55,16 +47,6 @@ Py_GetBuildInfo(void) } const char * -_Py_svnversion(void) -{ - /* the following string can be modified by subwcrev.exe */ - static const char svnversion[] = SVNVERSION; - if (svnversion[0] != '$') - return svnversion; /* it was interpolated, or passed on command line */ - return "Unversioned directory"; -} - -const char * _Py_hgversion(void) { return HGVERSION; |