ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/examples
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
..
custom-backend refactor: return ExitCode from CliRunner::run() 2023-01-20 06:42:08 +01:00
custom-command cli: wrap transaction started by WorkspaceCommandHelper, borrow helper mutably 2023-01-25 13:31:41 +09:00
custom-global-flag refactor: return ExitCode from CliRunner::run() 2023-01-20 06:42:08 +01:00