Skip to content

Jujutsu - #2185

Draft
himynameisjonas wants to merge 5 commits into
get-bb:mainfrom
himynameisjonas:jujutsu
Draft

Jujutsu#2185
himynameisjonas wants to merge 5 commits into
get-bb:mainfrom
himynameisjonas:jujutsu

Conversation

@himynameisjonas

Copy link
Copy Markdown

No description provided.

In a colocated jj repo git HEAD is pinned detached at the working-copy
parent, so bb rendered every jj workspace as "detached <sha>". The
detached checkout variant now carries an optional jj object with the
bookmark pointing at HEAD, resolved with plain git (for-each-ref
--points-at HEAD), so the daemon needs no jj binary. Bumps
HOST_DAEMON_PROTOCOL_VERSION to 147.
Renders the bookmark from the checkout's jj field in the metadata row
(row label Bookmark), the compose branch picker (Current: <bookmark>
(jj)), and the CLI environment status output. The compose branch
mutation blocker now says branch switching is managed by jj instead of
a bare Detached label.
A git commit in a jj main workspace imports without conflict but leaves
the previous working-copy change as a stray anonymous head in jj log
and moves no bookmark. The daemon now throws a typed jj_workspace error
and the server maps it to 409. Managed worktrees of a jj repo have no
.jj directory and commit as before. Bumps HOST_DAEMON_PROTOCOL_VERSION
to 148.
Pins the behavior the jj support relies on staying free: managed
worktrees provision from a colocated jj source with git worktree add
and their commits import as bookmarks, readDefaultBranch resolves in a
jj git clone --colocate, bookmark moves change the shared refs
fingerprint, and the exported bookmark ref path classifies as a
shared-git-refs change in the watcher.
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