jj/lib/tests
Yuya Nishihara 168c7979fe working_copy: on snapshot, warn new large files and continue
I think this provides a better UX than refusing any operation due to large
files. Because untracked files won't be overwritten, it's usually safe to
continue operation ignoring the untracked files. One caveat is that new large
files can become tracked if files of the same name checked out. (see the test
case)

FWIW, the warning will be printed only once if watchman is enabled. If we use
the snapshot stats to print untracked paths in "jj status", this will be a
problem.

Closes #3616, #3912
2024-12-11 20:19:51 +09:00
..
runner.rs rewrite: fix duplicated commits to be rebased onto destination 2024-11-21 10:49:51 +09:00
test_annotate.rs annotate: add low-level function to specify starting file content 2024-11-12 08:26:42 +09:00
test_bad_locking.rs transaction: propagate errors from commit() 2024-11-13 23:05:24 -08:00
test_commit_builder.rs config: add convenient method to insert value into layer, migrate callers 2024-12-07 11:06:21 +09:00
test_commit_concurrent.rs transaction: propagate errors from commit() 2024-11-13 23:05:24 -08:00
test_conflicts.rs conflicts: add "git" conflict marker style 2024-11-23 08:28:47 -06:00
test_default_revset_graph_iterator.rs transaction: propagate errors from commit() 2024-11-13 23:05:24 -08:00
test_git.rs jj-lib: abstract a lower-level api for fetching from git. 2024-12-01 12:22:09 +00:00
test_git_backend.rs transaction: propagate errors from commit() 2024-11-13 23:05:24 -08:00
test_gpg.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
test_id_prefix.rs transaction: propagate errors from commit() 2024-11-13 23:05:24 -08:00
test_index.rs transaction: propagate errors from commit() 2024-11-13 23:05:24 -08:00
test_init.rs settings: own StackedConfig by UserSettings, migrate tests to use config layer 2024-11-30 10:01:05 +09:00
test_load_repo.rs transaction: propagate errors from commit() 2024-11-13 23:05:24 -08:00
test_local_working_copy.rs working_copy: on snapshot, warn new large files and continue 2024-12-11 20:19:51 +09:00
test_local_working_copy_concurrent.rs working_copy: plumbing to propagate untracked paths to caller 2024-12-11 20:19:51 +09:00
test_local_working_copy_sparse.rs conflicts: add "ui.conflict-marker-style" config 2024-11-23 08:28:47 -06:00
test_merge_trees.rs store: make get_tree() functions take owned repo path 2024-11-27 18:53:28 -08:00
test_merged_tree.rs merged_tree: remove redundant .clone() from TreeDiffStreamImpl::new() 2024-11-30 10:20:43 +09:00
test_mut_repo.rs transaction: propagate errors from commit() 2024-11-13 23:05:24 -08:00
test_operations.rs settings: own StackedConfig by UserSettings, migrate tests to use config layer 2024-11-30 10:01:05 +09:00
test_refs.rs transaction: propagate errors from commit() 2024-11-13 23:05:24 -08:00
test_revset.rs revset: allow tags() to take a pattern for an argument 2024-11-20 00:47:23 +00:00
test_rewrite.rs transaction: propagate errors from commit() 2024-11-13 23:05:24 -08:00
test_rewrite_duplicate.rs rewrite: fix duplicated commits to be rebased onto destination 2024-11-21 10:49:51 +09:00
test_rewrite_transform.rs transaction: rename mut_repo() to idiomatic repo_mut() 2024-09-07 10:51:43 -07:00
test_signing.rs settings: own StackedConfig by UserSettings, migrate tests to use config layer 2024-11-30 10:01:05 +09:00
test_ssh_signing.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
test_view.rs transaction: propagate errors from commit() 2024-11-13 23:05:24 -08:00
test_workspace.rs testutils: move default_store_factories() to TestEnvironment 2024-11-02 08:39:02 +09:00