jj/lib
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
..
gen-protos
src
tests testutils: create a function for writing a random commit to MutableRepo 2022-12-26 23:30:52 -08:00
testutils testutils: create a function for writing a random commit to MutableRepo 2022-12-26 23:30:52 -08:00
build.rs
Cargo.toml