mirror of
https://github.com/martinvonz/jj.git
synced 2024-12-26 14:00:51 +00:00
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 |