# HG changeset patch # User Georges Racinet <georges.racinet@octobus.net> # Date 1642068698 -3600 # Thu Jan 13 11:11:38 2022 +0100 # Node ID 715102336aa563d7e7047d7bcc9d38b60d081bb8 # Parent 32d588e1008eb47c2adf334b837c40f373dc4be0 registry pull-push: force remote for Omnibus Now that we have made a constant out of the canonical address, let's use it to prevent surprises. People may want e.g., to reclone locally for some reasons. Of course the canonical address may one day change and the script will have to be updated then, but it is quite unlikely in the foreseeable future. diff --git a/registry-pull-heptapod-push-docker b/registry-pull-heptapod-push-docker --- a/registry-pull-heptapod-push-docker +++ b/registry-pull-heptapod-push-docker @@ -47,7 +47,7 @@ def omnibus_short_hg_sha(rev, omnibus_clone): - subprocess.check_call(("hg", "pull", "-R", omnibus_clone)) + subprocess.check_call(("hg", "pull", "-R", omnibus_clone, OMNIBUS_HEPTAPOD_SOURCE)) return subprocess.check_output(("hg", "log", "-T", "{node|short}", "-R", omnibus_clone, "-r", rev)).decode().strip()