forked from mirrors/jj
8d090628c3
We had both `repo()` and `mut_repo()` on `Transaction` and I think it was easy to get confused and think that the former returned a `&ReadonlyRepo` but both of them actually return a reference to `MutableRepo` (the latter obviously returns a mutable reference). I hope that renaming to the more idiomatic `repo_mut()` will help clarify. We could instead have renamed them to `mut_repo()` and `mut_repo_mut()` but that seemed unnecessarily long. It would better match the `mut_repo` variables we typically use, though. |
||
---|---|---|
.. | ||
main.rs |