forked from mirrors/jj
f1d7bbe508
We already have `create_random_commit()`, which returns a `CommitBuilder`. Most callers directly write that to a `MutableRepo`. That currently returns a `Commit`, but I'm about to make it propagate errors from the backend. That would add an `unwrap()` to this sequence, making it longer. Let's create a simple helper for these callers to simplify this common pattern. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |