The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(update): narrow the source target's branch before building the refspec
kshitijk4poor57fba5f77244
diff --git a/hermes_cli/update_cmd.py b/hermes_cli/update_cmd.pyindex 535b5a220a9..9b297bc1ba8 100644--- a/hermes_cli/update_cmd.py+++ b/hermes_cli/update_cmd.py@@ -1344,6 +1344,7 @@ def _cmd_update_impl(args, gateway_mode: bool):target_ref = release_shacompletion_request["expected_sha"] = release_shaelse:+ assert target.branch is not None # a SourceTarget without a commit names its branchbranch = target.branchcompletion_request["branch"] = branchtarget_ref = f"origin/{branch}"