Skip to content

Fix continuing a review with the previous session - #116

Merged
nnutter merged 2 commits into
masterfrom
review
Nov 6, 2026
Merged

nnutter merged 2 commits into
masterfrom
review

Conversation

@nnutter

@nnutter nnutter commented Nov 6, 2026

Copy link
Copy Markdown
Owner

No description provided.

tuicr finds a saved session by the name that it gives the session, so a
carried session must keep that name. The carry renamed the session to a
name that only timber used, so tuicr did not find the carried session and
wrote a second session for the same range. The review then found two
sessions for one range and stopped.

The carry keeps the repository part of the name, names the range from the
oldest commit to the newest, and stores the range and the base commit the
way tuicr stores them. A range of more than one commit carries now,
because the captured range is compared as a set of commits.

Change-Id: Icfe9e542dce76fcaec12d12c00ab2a051554db18
A store can hold two sessions for one range: a carried session and the
session that tuicr wrote. The reader refused to choose between them, so a
review stopped and every retry stopped the same way.

The reader continues with the session that the index recorded last,
because that is the session that tuicr reopens. A selector still names an
exact session. The file review store follows the same rule.

Change-Id: I27b447cc8186590e99f54e9dc4a98cefe531cad9
@nnutter
nnutter merged commit 93b8ca0 into master Nov 6, 2026
3 checks passed
@nnutter
nnutter deleted the review branch November 6, 2026 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant