jj/lib/src
Martin von Zweigbergk e384f97b20 transaction: check that we haven't forgotten to rebase descendants (#111)
If we have recorded in `MutableRepo` that commits have been abandoned
or rewritten, we should always rebase descendants before committing
the transaction (otherwise there's no reason to record the
rewrites). That's not much of a risk in the CLI because we already
have that logic in a central place there (`finish_transaction()`), but
other users of the library crate could easily miss it. Perhaps we
should automatically do any necessary rebasing we commit the
transaction in the library crate instead, but for now let's just have
a check for that to catch such bugs.
2022-03-26 22:31:49 -07:00
..
backend.rs tests: pass timestamps via env vars for reproducible hashes 2022-03-05 08:48:42 -08:00
commit.rs rewrite: optimize for rebase onto metadata-only change 2021-12-08 08:49:42 -08:00
commit_builder.rs commit_builder: move signature() to UserSettings 2022-03-10 12:38:07 -08:00
conflicts.rs cleanup: fix formatting regression 2021-11-14 12:46:38 -08:00
dag_walk.rs cleanup: let Clippy fix a bunch of warnings 2021-06-14 00:27:31 -07:00
diff.rs diff: add helpers for finding index for non-base side 2022-03-10 22:00:45 -08:00
file_util.rs working_copy: consider it an error if temp file cannot be renamed to target 2021-06-16 10:52:55 -07:00
files.rs files: implement Debug for MergeResult, display byte vector as string 2021-11-07 15:17:51 -08:00
git.rs git: on import, only add ref target as head if target changed (#44) 2021-12-11 11:03:40 -08:00
git_backend.rs cli: on jj init --git-repo=., use relative path to .git/ 2022-03-05 09:37:48 -08:00
gitignore.rs gitignore: move function for chaining .gitignore to central place (#65, #87) 2022-03-12 10:48:06 -08:00
index.rs cleanup: run rustfmt 2022-02-27 10:59:28 -08:00
index_store.rs index: transparently reindex if the index is corrupt 2021-10-17 09:13:31 -07:00
lib.rs build: conditionally use map_first_last feature if available 2022-02-20 22:21:14 -08:00
local_backend.rs cargo: upgrade blake2 2022-02-09 22:19:04 -08:00
lock.rs cargo: upgrade backoff 2022-02-09 22:21:39 -08:00
matchers.rs matchers: add a matcher for path prefixes (#52) 2022-02-06 14:49:22 -08:00
nightly_shims.rs build: suppress unstable_name_collisions warnings on stable 2022-02-23 23:41:55 -08:00
op_heads_store.rs repo: move resolving of concurrent operations to repo level (#111) 2022-03-26 22:31:49 -07:00
op_store.rs op_store: add support for tracking multiple workspaces (#13) 2022-02-02 08:15:22 -08:00
operation.rs store: rename Store to Backend and StoreWrapper to Store 2021-09-12 12:02:10 -07:00
protos.rs protobuf: generate code at build-time 2020-12-24 01:05:17 -08:00
refs.rs store: rename Store to Backend and StoreWrapper to Store 2021-09-12 12:02:10 -07:00
repo.rs transaction: check that we haven't forgotten to rebase descendants (#111) 2022-03-26 22:31:49 -07:00
repo_path.rs matchers: add a matcher for path prefixes (#52) 2022-02-06 14:49:22 -08:00
revset.pest revsets: allow the .. operator to be used as prefix or suffix (#46) 2021-12-15 22:16:22 -08:00
revset.rs build: use assert_matches crate 2022-02-20 22:21:14 -08:00
revset_graph_iterator.rs build: conditionally use map_first_last feature if available 2022-02-20 22:21:14 -08:00
rewrite.rs revsets: add syntax for a particular workspace's checkout (#13) 2022-02-02 10:05:31 -08:00
settings.rs config: move reading of config from lib crate to CLI crate 2022-03-23 09:57:42 -07:00
simple_op_store.rs cargo: upgrade blake2 2022-02-09 22:19:04 -08:00
stacked_table.rs cargo: upgrade blake2 2022-02-09 22:19:04 -08:00
store.rs cleanup: fix some issues reported by new clippy and/or rustc 2021-12-10 14:12:45 -08:00
testutils.rs cargo: upgrade the config crate from 0.11.0 to 0.12.0 2022-03-18 22:33:04 -07:00
transaction.rs transaction: check that we haven't forgotten to rebase descendants (#111) 2022-03-26 22:31:49 -07:00
tree.rs trees: pass a matcher to the entry iterator 2021-11-14 22:00:46 -08:00
tree_builder.rs tree_builder: rename repo() to more accurate store() 2021-11-07 15:17:51 -08:00
view.rs view: move merging of views up to repo level (#111) 2022-03-26 22:31:49 -07:00
working_copy.rs working_copy: let caller pass in base Git ignores (#65, #87) 2022-03-12 10:48:06 -08:00
workspace.rs working_copy: stop taking initial checkout in constructor 2022-02-12 23:45:05 -08:00