jj/cli/src
Austin Seipp 37f11c7d4e workspace: add '--revision' argument to 'workspace add'
Summary: Workspaces are most useful to test different versions (commits) of
the tree within the same repository, but in many cases you want to check out a
specific commit within a workspace.

Make that trivial with a `--revision` option which will be used as the basis
for the new workspace. If no `-r` option is given, then the previous behavior
applies: the workspace is created with a working copy commit created on top of
the current working copy commit's parent.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Change-Id: I23549efe29bc23fb9f75437b6023c237
2023-10-11 22:02:24 -05:00
..
commands workspace: add '--revision' argument to 'workspace add' 2023-10-11 22:02:24 -05:00
config cli: enable tree-level conflicts by default 2023-10-05 10:31:47 -07:00
merge_tools working_copy: rename to local_working_copy 2023-10-07 08:19:03 -07:00
cleanup_guard.rs
cli_util.rs cli: allow overwriting non-scalar with jj config set 2023-10-11 07:40:08 -07:00
commit_templater.rs git: look up "git" remote branches normally 2023-10-07 19:33:35 +09:00
config-schema.json cli: redefine default log revset using immutable_heads() 2023-10-01 11:15:30 -07:00
config.rs
diff_util.rs
formatter.rs
graphlog.rs
lib.rs
main.rs
operation_templater.rs
progress.rs
template.pest
template_builder.rs
template_parser.rs
templater.rs
text_util.rs
time_util.rs
ui.rs ui: remove write*() and flush() methods 2023-10-11 19:24:01 +09:00