[Python-checkins] r43355 - python/trunk/PCbuild/make_buildinfo.c
martin.v.loewis
python-checkins at python.org
Mon Mar 27 18:30:41 CEST 2006
Author: martin.v.loewis
Date: Mon Mar 27 18:30:41 2006
New Revision: 43355
Modified:
python/trunk/PCbuild/make_buildinfo.c
Log:
Allow supression of subwcrev.exe invocation on a per-working-copy basis.
Modified: python/trunk/PCbuild/make_buildinfo.c
==============================================================================
--- python/trunk/PCbuild/make_buildinfo.c (original)
+++ python/trunk/PCbuild/make_buildinfo.c Mon Mar 27 18:30:41 2006
@@ -27,6 +27,9 @@
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 */
More information about the Python-checkins
mailing list