mirror of
https://github.com/martinvonz/jj.git
synced 2024-12-27 06:27:43 +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. |
||
---|---|---|
.. | ||
gen-protos | ||
src | ||
tests | ||
testutils | ||
build.rs | ||
Cargo.toml |