1
0
Fork 0

Merge pull request #122 from google/updated-apply-patch

stage patch
This commit is contained in:
Mikhail Goncharov 2020-02-06 13:02:41 +01:00 committed by GitHub
commit 8ae09b4dcf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -104,6 +104,7 @@ class ApplyPatch:
self.repo.git.commit('-a', '-m', 'dependencies') self.repo.git.commit('-a', '-m', 'dependencies')
print('All depended diffs are applied') print('All depended diffs are applied')
self._apply_diff(self.diff_id, revision_id) self._apply_diff(self.diff_id, revision_id)
self.repo.git.add('-u', '.')
print('done.') print('done.')
finally: finally:
self._write_error_message() self._write_error_message()