ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/tests
Ilya Grigoriev 714aff63e6 git.rs: properly abandon commits from moved/deleted branches on remote (#864)
This bug concerns the way `import_refs` that gets called by `fetch` computes
the heads that should be visible after the import.

Previously, the list of such heads was computed *before* local branches were
updated based on changes to the remote branches. So, commits that should have
been abandoned based on this update of the local branches weren't properly
abandoned.

Now, `import_refs` tracks the heads that need to be visible because of some ref
in a mapping keyed by the ref. If the ref moves or is deleted, the
corresponding heads are updated.

Fixes #864
2023-05-17 17:57:58 -07:00
..
common TestEnvironment: make it easier to run integration tests with printf debugging 2023-05-14 19:59:50 -07:00
test_abandon_command.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_alias.rs
test_branch_command.rs
test_cat_command.rs
test_checkout.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_commit_command.rs
test_commit_template.rs cli: allow resolving shorter ids within a configured revset 2023-05-11 23:41:24 -07:00
test_concurrent_operations.rs
test_config_command.rs
test_debug_command.rs
test_describe_command.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_diff_command.rs
test_diffedit_command.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_duplicate_command.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_edit_command.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_git_clone.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_git_colocated.rs git.rs: properly abandon commits from moved/deleted branches on remote (#864) 2023-05-17 17:57:58 -07:00
test_git_fetch.rs
test_git_import_export.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_git_push.rs
test_git_remotes.rs
test_gitignores.rs
test_global_opts.rs tracing: bump a few trace events from DEBUG to INFO 2023-05-03 11:40:23 -07:00
test_init_command.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_interdiff_command.rs
test_log_command.rs cli: allow resolving shorter ids within a configured revset 2023-05-11 23:41:24 -07:00
test_move_command.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_new_command.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_obslog_command.rs cli: allow resolving shorter ids within a configured revset 2023-05-11 23:41:24 -07:00
test_operations.rs
test_rebase_command.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_resolve_command.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_restore_command.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_revset_output.rs
test_show_command.rs
test_sparse_command.rs
test_split_command.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_squash_command.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_status_command.rs
test_templater.rs
test_undo.rs
test_unsquash_command.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_untrack_command.rs
test_util_command.rs
test_workspaces.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00