From 1bd8fe7d238ccf082d192f588f46ca9678c2d846 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 27 Jun 2022 16:01:32 +1000 Subject: [PATCH] Fetch new changes before trying to switch commits --- tools/genfluent/genfluent.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/genfluent/genfluent.py b/tools/genfluent/genfluent.py index ae6aaf29d..25fc5062c 100755 --- a/tools/genfluent/genfluent.py +++ b/tools/genfluent/genfluent.py @@ -18,6 +18,7 @@ def ensure_i18n_module_correct(): if m: (indent, key, commit) = m.groups() if key == "core_i18n_commit": + subprocess.run(["git", "fetch"], cwd="ftl/core", check=True) subprocess.run(["git", "checkout", commit], cwd="ftl/core", check=True) break