mirror of
https://github.com/python/cpython.git
synced 2026-01-08 08:22:41 +00:00
Allow supression of subwcrev.exe invocation on a per-working-copy basis.
This commit is contained in:
parent
cff22083f1
commit
0a4e98bf13
1 changed files with 3 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue