mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1203796 - Remove the trychooser syntax commit if pushing to the try server fails; r=chmanchester
This commit is contained in:
parent
a93bb88d6b
commit
0dd6e1a82a
@ -99,9 +99,11 @@ class AutoTry(object):
|
||||
|
||||
def _git_push_to_try(self, msg):
|
||||
self._run_git('commit', '--allow-empty', '-m', msg)
|
||||
self._run_git('push', 'hg::ssh://hg.mozilla.org/try',
|
||||
'+HEAD:refs/heads/branches/default/tip')
|
||||
self._run_git('reset', 'HEAD~')
|
||||
try:
|
||||
self._run_git('push', 'hg::ssh://hg.mozilla.org/try',
|
||||
'+HEAD:refs/heads/branches/default/tip')
|
||||
finally:
|
||||
self._run_git('reset', 'HEAD~')
|
||||
|
||||
def push_to_try(self, msg, verbose):
|
||||
if not self._use_git:
|
||||
|
Loading…
Reference in New Issue
Block a user