ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/src
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
..
commands cli: wrap transaction started by WorkspaceCommandHelper, borrow helper mutably 2023-01-25 13:31:41 +09:00
config
cleanup_guard.rs
cli_util.rs cli: wrap transaction started by WorkspaceCommandHelper, borrow helper mutably 2023-01-25 13:31:41 +09:00
config.rs
diff_util.rs
formatter.rs cli: error out if colors section isn't of map type 2023-01-24 15:06:12 +09:00
graphlog.rs
lib.rs
main.rs
merge_tools.rs
progress.rs
template.pest
template_parser.rs
templater.rs repo: proxy shortest unique prefix function through RepoRef 2023-01-25 10:47:39 +09:00
time_util.rs
ui.rs cli: error out if colors section isn't of map type 2023-01-24 15:06:12 +09:00