diff --git a/scripts/phabtalk/apply_patch2.py b/scripts/phabtalk/apply_patch2.py index 6b5c284..042a029 100755 --- a/scripts/phabtalk/apply_patch2.py +++ b/scripts/phabtalk/apply_patch2.py @@ -145,10 +145,10 @@ class ApplyPatch: return logging.info('Syncing local, origin and upstream...') + self.repo.git.clean('-ffxdq') self.repo.git.fetch('--all') self.repo.git.checkout('master') self.repo.git.reset('--hard') - self.repo.git.clean('-ffxdq') if 'upstream' not in self.repo.remotes: self.repo.create_remote('upstream', url=LLVM_GITHUB_URL) self.repo.remotes.upstream.fetch()