diff --git a/scripts/phabtalk/apply_patch2.py b/scripts/phabtalk/apply_patch2.py index a1fe8ad..9480bc1 100755 --- a/scripts/phabtalk/apply_patch2.py +++ b/scripts/phabtalk/apply_patch2.py @@ -76,6 +76,8 @@ class ApplyPatch: try: print('Checking out master...') self.repo.git.checkout('master') + print('Cleanup...') + self.repo.git.clean('-fdx') revision_id, dependencies = self._get_dependencies() print('Analyzing {}'.format(diff_to_str(revision_id))) if len(dependencies) > 0: