jj/lib/src
Martin von Zweigbergk a9d1b16937 workspace: canonicalize workspace and repo paths internally
We depend on comparing the workspace root with the Git repo's path to
know if we're sharing the working copy with it. For that to work
reliably, we need the paths to be canonicalized, so that's what this
patch tries to do.
2022-03-30 22:09:55 -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 cleanup: use canonicalize() method instead of free function 2022-03-30 22:09:55 -07: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 op_heads_store: return operations sorted by timestamp (#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 workspace: canonicalize workspace and repo paths internally 2022-03-30 22:09:55 -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 workspace: canonicalize workspace and repo paths internally 2022-03-30 22:09:55 -07:00
transaction.rs transaction: move rebasing of descendants out of merge_operation() (#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 workspace: canonicalize workspace and repo paths internally 2022-03-30 22:09:55 -07:00