comparison Python/sysmodule.c @ 46057:bfcda552492e legacy-trunk

Added quick hack for bzr
author Christian Heimes <christian@cheimes.de>
date Mon, 24 Mar 2008 19:57:42 +0000
parents 99355baa748d
children c86e9dd16b8d
comparison
equal deleted inserted replaced
46055:02ae311256a7 46057:bfcda552492e
1061 1061
1062 if (svn_initialized) 1062 if (svn_initialized)
1063 return; 1063 return;
1064 1064
1065 python = strstr(headurl, "/python/"); 1065 python = strstr(headurl, "/python/");
1066 if (!python) 1066 if (!python) {
1067 /* XXX quick hack to get bzr working */
1068 *patchlevel_revision = '\0';
1069 strcpy(branch, "");
1070 strcpy(shortbranch, "unknown");
1071 svn_revision = "";
1072 return
1067 Py_FatalError("subversion keywords missing"); 1073 Py_FatalError("subversion keywords missing");
1074 }
1068 1075
1069 br_start = python + 8; 1076 br_start = python + 8;
1070 br_end = strchr(br_start, '/'); 1077 br_end = strchr(br_start, '/');
1071 assert(br_end); 1078 assert(br_end);
1072 1079