summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorNed Deily <nad@python.org>2017-03-04 06:34:19 (GMT)
committerGitHub <noreply@github.com>2017-03-04 06:34:19 (GMT)
commita2edd3ae4074952ce77d9319da2dbb2a47300c27 (patch)
treebabf6e2bb4f639fb1139819e9fcc054cf7434fd5 /Include
parent2df52acce2471f6ee27cdcd5f525538abbc13313 (diff)
downloadcpython-a2edd3ae4074952ce77d9319da2dbb2a47300c27.zip
cpython-a2edd3ae4074952ce77d9319da2dbb2a47300c27.tar.gz
cpython-a2edd3ae4074952ce77d9319da2dbb2a47300c27.tar.bz2
[3.5] bpo-27593: Get SCM build info from git instead of hg. (#446) (#454) (#455)
* bpo-27593: Get SCM build info from git instead of hg. (#446) sys.version and the platform module python_build(), python_branch(), and python_revision() functions now use git information rather than hg when building from a repo. Based on original patches by Brett Cannon and Steve Dower. (cherry picked from commit 5c4b0d063aba0a68c325073f5f312a2c9f40d178) (cherry picked from commit 95c50e5aed9e5683676e18349dd94b11901a66b3)
Diffstat (limited to 'Include')
-rw-r--r--Include/pylifecycle.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/pylifecycle.h b/Include/pylifecycle.h
index ccdebe2..1c5f7a6 100644
--- a/Include/pylifecycle.h
+++ b/Include/pylifecycle.h
@@ -69,8 +69,8 @@ PyAPI_FUNC(const char *) Py_GetCopyright(void);
PyAPI_FUNC(const char *) Py_GetCompiler(void);
PyAPI_FUNC(const char *) Py_GetBuildInfo(void);
#ifndef Py_LIMITED_API
-PyAPI_FUNC(const char *) _Py_hgidentifier(void);
-PyAPI_FUNC(const char *) _Py_hgversion(void);
+PyAPI_FUNC(const char *) _Py_gitidentifier(void);
+PyAPI_FUNC(const char *) _Py_gitversion(void);
#endif
/* Internal -- various one-time initializations */