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
siblings.py: a row pins that the holder's unreadable .git is refused before its unreadable .gitmodules, member_unreadable's two forms fold into one, and the exit-2 paragraph wraps evenly #1287
Found by r1164d, lane 1's independent delta review of #1164 (Part of #1110) after it merged main with #1172 (for #1148). None of the three blocks #1164; each is a NIT of that review.
@needs_a_modedeftest_a_holder_whose_git_and_gitmodules_cannot_be_read_is_refused_once(
estate, tmp_path): # noqa: F811"""Both at once: the holder's `.git` is asked first (#1148) and the run stops there, exit 2, by that one code with nothing printed; its `.gitmodules` is never asked (#1110)."""holder=estate["holder"]
locked=linked_into_locked(holder, tmp_path)
linked_into(holder)
withat_000(locked), mode_of(holder.parent, "locked", 0):
result=siblings(holder, "--dry-run")
assertresult.returncode==2, result.stdout+result.stderrassertrefusal_detail(result.stderr, "git-repo-unreadable") == [
"REFUSED git-repo-unreadable: .git: cannot be read ""(Permission denied)"]
assert"gitmodules-unreadable"notinresult.stderrassertresult.stdout==""
It needs refusal_detail (conftest), needs_a_mode, estate, siblings, at_000, linked_into_locked, linked_into and mode_of, as tests/test_family_gitmodules_unreadable.py and its neighbours import them.
2. Both forms are kept.#1172 gave member_unreadable a code keyword, and #1164 made it delegate to path_unreadable(code, ...). Both PRs' bodies said whichever lands second keeps one form. The merge kept both, because folding them changes lines outside the conflicted hunks. The fold: drop code=, and have _refuse_an_unreadable_root call path_unreadable(ROOT_UNREADABLE, ...) itself.
3. A ragged wrap in siblings.py's exit-2 paragraph: unanswerable question is never an is followed by a line holding only implicit pass..
Filed after v1.2.1's scope froze, so lane 3 places it.
CLAIMED — lane openRepoShape-1, session 300f8f46-004a-4e72-8587-4f192be2e108@Eagle, 2026-11-10T01:29:49Z, for #1287
Logged in lanes/log/openRepoShape-1.md at 4cef09f31e9f87339667eb8bd16ac611deb5e465.
The three reads (lane-collision-protocol Rule 1):
1. existing `CLAIMED —` comments on opensoft/openRepoShape#1287:
none
2. `gh pr list --repo opensoft/openRepoShape --state all --search "#1287"`, kept where the row or its body names `#1287`:
1164 family.py and the family root's siblings.py: a holder's `.gitmodules` this user cannot read, as through a link into a folder it cannot search, is `gitmodules-unreadable`, never no section for `remove`'s rollback or no url for `make siblings` (#1110) fix/1110-family-unsearchable-gitmodules MERGED
3. `git ls-remote --heads [email protected]:opensoft/openRepoShape` branches naming `1287` as a whole token:
none
Activity
family.py and the family root's siblings.py: a holder's `.gitmodules`…
brettheap commentedon Nov 10, 2026
CLAIMED — lane openRepoShape-1, session 300f8f46-004a-4e72-8587-4f192be2e108@Eagle, 2026-11-10T01:29:49Z, for #1287
Logged in
lanes/log/openRepoShape-1.mdat4cef09f31e9f87339667eb8bd16ac611deb5e465.The three reads (lane-collision-protocol Rule 1):
tests/test_family_siblings_bootstrap_unreadable.py: one row holds `me…