# HG changeset patch # User Gregory Szorc # Date 1587754087 25200 # Node ID 47609da1537959a18249e022416423b5569ce444 # Parent 9ade217b550d14e71ea106f8db63a62291ee0b40 automation: add extra arguments when building Inno These were being fed into the template expansion but not being used. This meant --version was not getting set when it should have been. Differential Revision: https://phab.mercurial-scm.org/D8482 diff -r 9ade217b550d -r 47609da15379 contrib/automation/hgautomation/windows.py --- a/contrib/automation/hgautomation/windows.py Thu Apr 23 18:48:36 2020 -0700 +++ b/contrib/automation/hgautomation/windows.py Fri Apr 24 11:48:07 2020 -0700 @@ -71,7 +71,7 @@ BUILD_INNO = r''' Set-Location C:\hgdev\src $python = "C:\hgdev\python27-{arch}\python.exe" -C:\hgdev\python37-x64\python.exe contrib\packaging\packaging.py inno --python $python +C:\hgdev\python37-x64\python.exe contrib\packaging\packaging.py inno --python $python {extra_args} if ($LASTEXITCODE -ne 0) {{ throw "process exited non-0: $LASTEXITCODE" }}