mirror of
https://github.com/python/cpython.git
synced 2025-07-28 05:34:31 +00:00
support building with subversion 1.7 #6094
This commit is contained in:
parent
f3bd687b2d
commit
e5afa3b24b
7 changed files with 9 additions and 6 deletions
|
@ -1158,7 +1158,7 @@ svnversion_init(void)
|
|||
|
||||
|
||||
svnversion = _Py_svnversion();
|
||||
if (strcmp(svnversion, "exported") != 0)
|
||||
if (strcmp(svnversion, "Unversioned directory") != 0 && strcmp(svnversion, "exported") != 0)
|
||||
svn_revision = svnversion;
|
||||
else if (istag) {
|
||||
len = strlen(_patchlevel_revision);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue