jj/examples/custom-command
Yuya Nishihara 3d5eb970da cli: wrap transaction started by WorkspaceCommandHelper, borrow helper mutably
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.
2023-01-25 13:31:41 +09:00
..
main.rs cli: wrap transaction started by WorkspaceCommandHelper, borrow helper mutably 2023-01-25 13:31:41 +09:00