jj/lib/tests
Martin von Zweigbergk cd4fbd3565 working_copy: add a reset() function for Git-like reset
We already have two usecases that can be modeled as updating the
`TreeState` without touching the working copy:

 1. `jj untrack` can be implemented as removing paths from the tree
    object and then doing a reset of the working copy state.

 2. Importing Git HEAD when sharing the working copy with a Git repo.

This patch adds that functionality to `TreeState`.
2022-01-19 08:32:59 -08:00
..
test_bad_locking.rs
test_commit_builder.rs transaction: remove Drop implementation 2021-12-01 10:31:35 -08:00
test_commit_concurrent.rs
test_conflicts.rs
test_diff_summary.rs
test_git.rs git: on import, only add ref target as head if target changed (#44) 2021-12-11 11:03:40 -08:00
test_index.rs transaction: remove Drop implementation 2021-12-01 10:31:35 -08:00
test_init.rs transaction: remove Drop implementation 2021-12-01 10:31:35 -08:00
test_load_repo.rs
test_merge_trees.rs
test_mut_repo.rs repo: don't use stale view when checking for changes 2021-12-05 22:01:48 -08:00
test_operations.rs
test_refs.rs
test_revset.rs revsets: add author() and committer() functions (#46) 2021-12-15 22:50:29 -08:00
test_revset_graph_iterator.rs
test_rewrite.rs transaction: remove Drop implementation 2021-12-01 10:31:35 -08:00
test_view.rs
test_working_copy.rs working_copy: add a reset() function for Git-like reset 2022-01-19 08:32:59 -08:00
test_working_copy_concurrent.rs working_copy: start improving interface for mutations 2022-01-19 08:32:59 -08:00
test_workspace.rs