jj/lib/src
Martin von Zweigbergk 1fc19dbbaf working_copy: take initial commit in init() function
The working copy object knows the currently checked out commit ID. It
is set to `None` when the object is initialized. It is also set to
`None` when an existing working copy is loaded. In that case, it's
used only to facilitate lazy loading. However, that means that
`WorkingCopy::current_commit_id()` fails if the working copy has been
initalized but no checkout has been specified. I've never run into
that case, but it's ugly that it can happen. This patch fixes it by
having `WorkingCopy::init()` take a `CommitId`.
2022-01-17 14:12:55 -08:00
..
backend.rs backend: make Vec inside CommitId non-public 2021-11-19 23:19:00 -08:00
commit.rs rewrite: optimize for rebase onto metadata-only change 2021-12-08 08:49:42 -08:00
commit_builder.rs backend: make Vec inside CommitId non-public 2021-11-19 23:19:00 -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: compact adjacent unchanged regions also when using for_tokenizer() 2021-10-10 00:00:06 -07: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 stacked_table: rename start_modification() to start_mutation() 2022-01-05 15:17:24 -08:00
gitignore.rs gitignore: don't apply patterns to parent directories 2022-01-12 11:27:49 -08:00
index.rs backend: make Vec inside CommitId non-public 2021-11-19 23:19:00 -08:00
index_store.rs index: transparently reindex if the index is corrupt 2021-10-17 09:13:31 -07:00
lib.rs clippy: disable return_self_not_must_use 2022-01-03 21:34:39 -08:00
local_backend.rs backend: make Vec inside CommitId non-public 2021-11-19 23:19:00 -08:00
lock.rs cargo: upgrade to backoff 0.3 2021-12-01 08:13:20 -08:00
matchers.rs cleanup: let Clippy fix a bunch of warnings 2021-06-14 00:27:31 -07:00
op_heads_store.rs op_store: make Vec inside ViewId and OperationId non-public 2021-11-19 23:19:13 -08:00
op_store.rs git: start tracking HEAD of underlying Git repo 2021-12-01 11:08:53 -08:00
operation.rs store: rename Store to Backend and StoreWrapper to Store 2021-09-12 12:02:10 -07:00
protos.rs
refs.rs store: rename Store to Backend and StoreWrapper to Store 2021-09-12 12:02:10 -07:00
repo.rs view: replace start_modification() by Clone impl 2022-01-05 15:11:07 -08:00
repo_path.rs cleanup: let Clippy fix a bunch of warnings 2021-06-14 00:27:31 -07: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 revsets: add author() and committer() functions (#46) 2021-12-15 22:50:29 -08:00
revset_graph_iterator.rs revset graph: fix formatting I missed in recent commit 2021-10-23 20:53:41 -07:00
rewrite.rs rewrite: avoid accessing MutRepo::view() when rebasing descendants 2021-12-08 08:49:42 -08:00
settings.rs cleanup: fix issues found by latest rustc and clippy 2021-09-29 10:12:38 -07:00
simple_op_store.rs git: start tracking HEAD of underlying Git repo 2021-12-01 11:08:53 -08:00
stacked_table.rs stacked_table: rename start_modification() to start_mutation() 2022-01-05 15:17:24 -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: add functions for initializing a repo 2021-11-25 21:07:28 -08:00
transaction.rs debug: upgrade Drop implementations to non-debug assert! 2021-12-01 10:32:11 -08: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: replace start_modification() by Clone impl 2022-01-05 15:11:07 -08:00
working_copy.rs working_copy: take initial commit in init() function 2022-01-17 14:12:55 -08:00
workspace.rs working_copy: take initial commit in init() function 2022-01-17 14:12:55 -08:00