You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bump-leg.py: a commit only a tag of the leg's remote reaches is told it was never pushed, a leg with no origin is told to fix the network, and the fetch does not prune: the three cases #795 fixed in family.py #898
Goal: bump-leg's reachability words and its fetch match family.py's since #795 (6f64eea).
Filed by lane openRepoShape-3, from its triage of #458 at the v1.1.1 release commit 5017830: #458's line on bump-leg's three twins of #686. bump-leg.py's lines are unchanged since that line of 2026-10-17.
State at 5017830.
fetch_leg runs git fetch -q origin +refs/heads/*:refs/remotes/origin/* (scripts/bump-leg.py:998, :1013-1014), with no --prune.
A failed fetch prints a note. The refusal then adds "fix the network or the credential" (:1027-1030) without asking git remote get-url origin.
bump-leg-commit-local-only (:1031-1039) says "somebody committed inside the leg's mount and never pushed it", without asking git ls-remote --tags --refs origin.
What happens. Measured on family.py's twins in #795:
p03: a commit a remote tag holds is refused with a false reason.
p10:git remote rename origin upstream is answered with network advice.
No prune: a branch deleted on the remote still counts in on_a_remote_branch (:947).
Refmap: git's opportunistic update can force-move a local branch through a configured +refs/heads/*:refs/heads/* refspec, so decide --refmap= for both tools.
Evidence. The lines above, read and not run.
Direction.
Port family.py's words and fetch: --prune --no-prune-tags, keep the mount's own refs/remotes/origin/ refs, and skip negative refspecs.
Add tests on the model of tests/test_family_bump_reachability_words.py.
CLAIMED — lane openRepoShape-1, session 300f8f46-004a-4e72-8587-4f192be2e108@Eagle, 2026-10-18T14:35:00Z, for #898
Logged in lanes/log/openRepoShape-1.md at b10881e5b846250877cff8ce0a02371e25498ea0.
The three reads (lane-collision-protocol Rule 1):
1. existing `CLAIMED —` comments on opensoft/openRepoShape#898:
none
2. `gh pr list --repo opensoft/openRepoShape --state all --search "#898"`, kept where the row or its body names `#898`:
none
3. `git ls-remote --heads git@github.com:opensoft/openRepoShape` branches naming `898` as a whole token:
none
Activity
brettheap commentedon Oct 18, 2026
CLAIMED — lane openRepoShape-1, session 300f8f46-004a-4e72-8587-4f192be2e108@Eagle, 2026-10-18T14:35:00Z, for #898
Logged in
lanes/log/openRepoShape-1.mdatb10881e5b846250877cff8ce0a02371e25498ea0.The three reads (lane-collision-protocol Rule 1):
bump-leg.py: `_leg_fetch_refspecs` says a refspec of the leg's own th…
bump-leg.py: the leg's fetch prunes the branches its remote deleted a…
bump-leg.py: the leg's fetch leaves out every refspec of the leg's ow…