feat: add optional Jujutsu (jj) support [3 of 4]#96
Conversation
agavra
left a comment
There was a problem hiding this comment.
This looks good to me as well, thanks @martintrojer! Would be nice to get @YPares to confirm it works with their jj repos (I don't have any of my own to test, though when I have some time I'll spin some up to test this and hg before doing an official release)
|
I'll merge this after we fix |
|
So when running in a jj repo on an empty revision, it just displays: whereas without the |
hrm, ok strange. testing with some of my local jj repos gives me the expected tuicr ui. |
Add jj backend using CLI commands, similar to hg support. Unify hg and jj diff parsers into shared diff_parser module with DiffFormat enum to handle format-specific differences. Detection order: jj → git → hg (jj first since it's git-backed).
3c17192 to
8e48641
Compare
|
Wait, is the error specifically on an empty revision ? Maybe there is a problem in that case |
Yes, I get it specifically when I'm on an empty revision. |
|
I'm curious, if |
Jj using git as 'blob storage' but it has many features on top |
I'm specifically curious about how that interacts with I'll go head and merge this change and we can follow-up with empty revision fix in the next PR. I think once it's well tested we can remove the feature flags and include them in the main binary so people using |
|
@martintrojer I think @agavra was wondering about which JJ-specific features exactly |
|
Makes sense! Thanks for the clarification. |
|
Some visual aspects could change if using a JJ repo instead of a "bare" Git repo:
|
Add jj backend using CLI commands, similar to hg support. Unify hg and jj diff parsers into shared diff_parser module with DiffFormat enum to handle format-specific differences.
Detection order: jj → git → hg (jj first since it's git-backed).