mirror of
https://github.com/martinvonz/jj.git
synced 2025-05-07 16:32:50 +00:00
This ensures that helper methods that depend on repo aren't used by mistake while transaction is in progress. Still it provides an escape hatch to invoke e.g. select_diff() with the base repo, but such invocations are more explicit. Some MutableRepo methods are proxied through the wrapper to get around borrowing errors.