mirror of
https://github.com/python/cpython.git
synced 2025-07-29 14:15:07 +00:00
Added quick hack for bzr
This commit is contained in:
parent
b74d084da8
commit
6a453c3750
1 changed files with 8 additions and 1 deletions
|
@ -1063,8 +1063,15 @@ svnversion_init(void)
|
|||
return;
|
||||
|
||||
python = strstr(headurl, "/python/");
|
||||
if (!python)
|
||||
if (!python) {
|
||||
/* XXX quick hack to get bzr working */
|
||||
*patchlevel_revision = '\0';
|
||||
strcpy(branch, "");
|
||||
strcpy(shortbranch, "unknown");
|
||||
svn_revision = "";
|
||||
return
|
||||
Py_FatalError("subversion keywords missing");
|
||||
}
|
||||
|
||||
br_start = python + 8;
|
||||
br_end = strchr(br_start, '/');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue