#1114777 Add support for jujutsu

#1114777#5
Date:
2025-09-09 19:07:34 UTC
From:
To:
Jujutsu (https://github.com/jj-vcs/jj) is a git compatible VCS that has many nice features for local editing. It would be interesting if gbp could support jj alongside git for all it's operations.

A bit premature because jj isn't packaged in Debian yet, but just wanted to get this idea down and see if there's any enthusiasm for it.

#1114777#10
Date:
2025-09-10 11:58:08 UTC
From:
To:
Hi,

I don't understand what you're suggesting here? Using `jj` instead of
git to perform the actual operations? As far as I read it currently
jj uses git as storage so I wouldn't know what difference that would
make in practice so I assume you're suggesting something else?

Cheers,
 -- Guido

#1114777#15
Date:
2025-09-17 19:51:51 UTC
From:
To:
* Guido Günther (agx@sigxcpu.org) wrote:

Generally yes, use jj instead of git for many/most of the
commands. Per
https://jj-vcs.github.io/jj/latest/git-compatibility/#co-located-jujutsugit-repos
in a colocated repo some mixing of commands is possible but things
might be confused when mixing mutating commands. Some obvious nice
things to support with jj:

* gbp clone: so you get jj client initialized
* gbp dch: Being able submit the changelog natively
* gbp pq: This feels like the killer feature, since managing commit
  chains in jj is much more pleasant.
* gbp pull: May need to invoke jj to keep things consistent

#1114777#20
Date:
2025-09-17 20:15:03 UTC
From:
To:
Hi,

I see, so someone interested in doing this would have to implement the
`GitRepository` class with jj commands (and likely some other places
that invoke git directly.
 -- Guido