ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/cli
Martin von Zweigbergk 3fbfd17182 cli: jj duplicate should refuse to duplicate only the root commit
Once we add support for immutable commits, `jj duplicate` should be
allowed to create duplicate of them. The reason it can't duplicate the
root commit is that it would mean there would be multiple root
commits, which would break the invariant that the single root commit
is the only root commit (and the backends refuse to write a commit
without parents). So let's have `jj duplicate` check specifically that
the user doesn't try to duplicate the root commit instead.
2023-09-25 15:41:45 -07:00
..
examples
src cli: jj duplicate should refuse to duplicate only the root commit 2023-09-25 15:41:45 -07:00
testing
tests cli: jj duplicate should refuse to duplicate only the root commit 2023-09-25 15:41:45 -07:00
build.rs
Cargo.toml
LICENSE