mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-08 22:08:16 +00:00
b53fa7eb49
Bug 1554987 made `mach try` use a transient remote, but that causes problems with existing setups that happen to use the same remote name, because of a combination of not-quite-as-documented-as-it-should behavior of git. - `git -c foo.bar=qux` doesn't override the value of `foo.bar` from the git configuration when `foo.bar` is an item that can take several values. - `remote.$remote.url` and `remote.$remote.pushurl` take several values, allowing to give several URLs. The combination of both means that if the git configuration already has `remote.try.url` set, that value takes precedence (because git push tries them one after the other, and takes the one from the command line last) One way we could increase the chances of things working out fine would be to use `remote.try.pushurl`, which if already set, is more likely to be right than an existing `remote.try.url`. OTOH, it turns out, after more investigation, that bug 1554987 requires a footgunny setup to happen in the first place. Namely, it requires having run `git lfs install` from a git-cinnabar clone. so we just go back to the previous status quo. Differential Revision: https://phabricator.services.mozilla.com/D36149 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
conftest.py | ||
python.ini | ||
test_commit.py | ||
test_context_manager.py | ||
test_push_to_try.py | ||
test_workdir_outgoing.py | ||
test_working_directory.py |