summaryrefslogtreecommitdiffstats
path: root/PCbuild
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-03-27 16:30:41 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-03-27 16:30:41 (GMT)
commit0a4e98bf136b384aeea7c30c4ed997953b90fb11 (patch)
tree0563caee8091de2331be3e419e45bd839be2e818 /PCbuild
parentcff22083f1447d397394d663314b3e120ca1993e (diff)
downloadcpython-0a4e98bf136b384aeea7c30c4ed997953b90fb11.zip
cpython-0a4e98bf136b384aeea7c30c4ed997953b90fb11.tar.gz
cpython-0a4e98bf136b384aeea7c30c4ed997953b90fb11.tar.bz2
Allow supression of subwcrev.exe invocation on a per-working-copy basis.
Diffstat (limited to 'PCbuild')
-rw-r--r--PCbuild/make_buildinfo.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/PCbuild/make_buildinfo.c b/PCbuild/make_buildinfo.c
index 9d2f9f0..4cebf45 100644
--- a/PCbuild/make_buildinfo.c
+++ b/PCbuild/make_buildinfo.c
@@ -27,6 +27,9 @@ int make_buildinfo2()
DWORD type, size;
if (_stat(".svn", &st) < 0)
return 0;
+ /* Allow suppression of subwcrev.exe invocation if a no_subwcrev file is present. */
+ if (_stat("no_subwcrev", &st) == 0)
+ return 0;
if (RegOpenKey(HKEY_LOCAL_MACHINE, "Software\\TortoiseSVN", &hTortoise) != ERROR_SUCCESS &&
RegOpenKey(HKEY_CURRENT_USER, "Software\\TortoiseSVN", &hTortoise) != ERROR_SUCCESS)
/* Tortoise not installed */