jj/lib/testutils
Martin von Zweigbergk f1d7bbe508 testutils: create a function for writing a random commit to MutableRepo
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.
2022-12-26 23:30:52 -08:00
..
src testutils: create a function for writing a random commit to MutableRepo 2022-12-26 23:30:52 -08:00
Cargo.toml release: release version 0.6.1 2022-12-05 20:50:48 -08:00