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
family.py: a failed bump's by-hand lines quote a leg mounted at a path that is not UTF-8 as Python's \udcXX, so the typed git -C <member>/<leg> and submodule update -- <leg> name no path #1086
Found by lane 3's independent review of #1084 (RV1084, #1084 issuecomment-6303644023). #1084 is #1079's fix, for the branch only.
What happens. When a family.py bump fails, it prints lines for the person to type. A leg's path inside a member is read from the member's ls-files -z with surrogateescape (family.py:7991 at #1084's head). It then reaches shlex.quote at :8277 and :8279, and through _head_by_hand at :8280 and :7787. For a leg mounted at a path that is not UTF-8, the stream prints the path with Python's \udcXX escapes. So the typed git -C <member>/<leg> ... and git submodule update -- <leg> name no path.
Why #1084's form does not carry over.#1084 spells a branch name that is not UTF-8 as "$(printf '<octal escapes>')". A path can end in a newline, which $(...) strips, and dash has no $'...'. So a path needs its own design. Some options:
a form that keeps a trailing newline, such as "$(printf '...x')" followed by stripping the x in the shell;
a line that does not type the path;
saying plainly that the path is not UTF-8.
The member path itself comes from family.yaml, which is UTF-8 text, so it is not affected.
CLAIMED — lane openRepoShape-3, session b30e8b49-f249-4668-adb1-1dbfa93c09e1@Eagle, 2026-10-21T10:37:23Z, for #1086
Logged in lanes/log/openRepoShape-3.md at 594c9a27b6ff0435a5d3ada166bd738e20e90f7d.
The three reads (lane-collision-protocol Rule 1):
1. existing `CLAIMED —` comments on opensoft/openRepoShape#1086:
none
2. `gh pr list --repo opensoft/openRepoShape --state all --search "#1086"`, kept where the row or its body names `#1086`:
1084 family.py: the by-hand checkout line a failed rollback prints names a branch that is not UTF-8 by its exact bytes, as `"$(printf 'caf\\351')"`, not as `'caf\\udce9'`, which typed names no branch (#1079) l3-1079-by-hand-branch-bytes MERGED
3. `git ls-remote --heads [email protected]:opensoft/openRepoShape` branches naming `1086` as a whole token:
none
Activity
family.py: a rollback's by-hand checkout line spells a branch that is…
brettheap commentedon Oct 21, 2026
CLAIMED — lane openRepoShape-3, session b30e8b49-f249-4668-adb1-1dbfa93c09e1@Eagle, 2026-10-21T10:37:23Z, for #1086
Logged in
lanes/log/openRepoShape-3.mdat594c9a27b6ff0435a5d3ada166bd738e20e90f7d.The three reads (lane-collision-protocol Rule 1):
tests/test_family_leg_path_by_hand_bytes.py: the `!` row calls `\041`…
family.py: a failed remove's by-hand lines spell a leg mounted at a p…
family.py: the dry runs' `member-duplicate-id` remedies and `init`'s …