summaryrefslogtreecommitdiff
path: root/Modules/getbuildinfo.c
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-03-06 10:35:42 +0100
committerGeorg Brandl <georg@python.org>2011-03-06 10:35:42 +0100
commit776e5861140957692db39fa63b6c1171ddb8508b (patch)
tree9dc319114adc9d14cc382292ae9c12cade2cdac4 /Modules/getbuildinfo.c
parentfe09a54280a56a01402f4cb98c8c6cb4be89654a (diff)
downloadcpython-git-776e5861140957692db39fa63b6c1171ddb8508b.tar.gz
Remove sys.subversion and svn build identification leftovers.
Diffstat (limited to 'Modules/getbuildinfo.c')
-rw-r--r--Modules/getbuildinfo.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/Modules/getbuildinfo.c b/Modules/getbuildinfo.c
index c70126d584..a4d839eed9 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;