forked from mirrors/jj
eb333dc07d
Certain commands should never rewrite commits, or they take care of rebasing descendants themselves. We have an optimization in `commands.rs` for those commands, so they skip the usual automatic rebasing before committing the transaction. That's risky to have to remember and `MutableRepo` already knows if any commits have been rewritten (that wasn't the case before, in the Evolution-based code). So let's just have `MutableRepo` do the check instead. |
||
---|---|---|
.. | ||
protos | ||
src | ||
tests | ||
build.rs | ||
Cargo.toml |