Commit f55d7768 authored by Denis Bilenko's avatar Denis Bilenko

util/make_dist.py: fix to keep unknown files in --fast mode

parent 9b2a9d84
...@@ -84,9 +84,9 @@ def main(): ...@@ -84,9 +84,9 @@ def main():
if options.fast: if options.fast:
system('rm -fr build doc/_build dist') system('rm -fr build doc/_build dist')
status_command = 'hg status --unknown --ignored' status_command = 'hg status --ignored'
if options.revert: if options.revert:
status_command += ' --modified --added' status_command += ' --modified --added --unknown'
for status, name in iter_status(status_command): for status, name in iter_status(status_command):
if name not in useful_files: if name not in useful_files:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment