Bug 1636797 - Tweak `git clean` call in `mach clobber python` r=mhentges,jgilbert,froydnj

Differential Revision: https://phabricator.services.mozilla.com/D84440
This commit is contained in:
Ricky Stewart 2020-07-21 22:27:21 +00:00
Родитель 23aadf1702
Коммит ffb40eb3c2
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -239,7 +239,7 @@ class Clobber(MachCommandBase):
'-I', 'glob:**.py[cdo]', '-I', 'glob:**/__pycache__', '-I', 'glob:**.py[cdo]', '-I', 'glob:**/__pycache__',
'-I', 'path:third_party/python/'] '-I', 'path:third_party/python/']
elif conditions.is_git(self): elif conditions.is_git(self):
cmd = ['git', 'clean', '-d', '-f', '-x', '*.py[cdo]', '*/__pycache__', cmd = ['git', 'clean', '-d', '-f', '-x', '*.py[cdo]', '*/__pycache__/*',
'third_party/python/'] 'third_party/python/']
else: else:
# We don't know what is tracked/untracked if we don't have VCS. # We don't know what is tracked/untracked if we don't have VCS.