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 cli: default to log when no subcommand is provided 2023-04-17 16:30:42 -07:00
test_branch_command.rs cmd: prohibit creating branches at the root commit 2023-04-03 23:51:47 -07:00
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 tests: use absolute timestamps in the operation log 2023-04-08 14:02:39 -07:00
test_config_command.rs
test_debug_command.rs revset: extract unresolved commit references to separate enum 2023-04-10 00:39:58 +09:00
test_describe_command.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_diff_command.rs Fix warnings in tests on non-Unix platforms 2023-05-01 13:37:31 +09:00
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 cmd: when a single remote is defined, default to it for git fetch/push 2023-04-14 08:20:30 +03:00
test_git_import_export.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00
test_git_push.rs tests: drop a few unnecessary --dry-run from tests 2023-04-19 22:56:51 -07:00
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 templates: extract default template to an alias 2023-04-21 14:25:37 -07:00
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 revset: split out no-args head() to visible_heads() 2023-04-03 23:46:34 -07:00
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 cli: rename jj support to jj util 2023-04-12 21:34:47 -07:00
test_workspaces.rs cli: print parent commit summary on checkout 2023-05-02 15:04:13 +09:00