forked from mirrors/jj
3a351bee7d
We had a recent bug where we used a repo reference from before we started a transaction and modified the repo. While it's often safe and correct to use such references, it isn't always. This patch removes all such cases. I think it generally makes the code clearer, and better prepared for #50, if we ever get around to that. I found these by temporarily making `WorkspaceCommandHelper::start_transaction()` take a mutable reference. |
||
---|---|---|
.. | ||
src | ||
tests | ||
build.rs | ||
Cargo.toml |