mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 12:51:06 +00:00
Bug 1903175 - Skip long pause at the end of mach try
when using git. r=sheehan
Differential Revision: https://phabricator.services.mozilla.com/D214061
This commit is contained in:
parent
3bc239f6cc
commit
8aeb63ed6c
@ -877,6 +877,11 @@ class GitRepository(Repository):
|
||||
try:
|
||||
cmd = (
|
||||
str(self._tool),
|
||||
"-c",
|
||||
# Never store git-cinnabar metadata for pushes to try.
|
||||
# Normally git-cinnabar asks the server what the phase of what it pushed
|
||||
# is, and figures on its own, but that request takes a long time on try.
|
||||
"cinnabar.data=never",
|
||||
"push",
|
||||
"hg::ssh://hg.mozilla.org/try",
|
||||
"+HEAD:refs/heads/branches/default/tip",
|
||||
|
@ -44,6 +44,8 @@ def test_push_to_try(repo, monkeypatch):
|
||||
),
|
||||
(
|
||||
str(tool),
|
||||
"-c",
|
||||
"cinnabar.data=never",
|
||||
"push",
|
||||
"hg::ssh://hg.mozilla.org/try",
|
||||
"+HEAD:refs/heads/branches/default/tip",
|
||||
|
Loading…
Reference in New Issue
Block a user