ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib/src
Waleed Khan 456be4cc73 backend: create BackendError::InvalidHashLength
Strictly speaking, we could rely on e.g. `git2::Oid::from_str` to produce an error, but I figure that having an explicit error for a mismatching hash length might demystify some error condition in the future, since commit IDs and change IDs and potentially other backends' IDs may have different lengths, so this could flag a mismatch earlier/more obviously.
2023-01-02 12:28:51 -06:00
..
protos lib: replace protobuf crate with prost 2022-12-22 07:04:35 -08:00
backend.rs backend: create BackendError::InvalidHashLength 2023-01-02 12:28:51 -06:00
commit.rs copyright: change from "Google LLC" to "The Jujutsu Authors" 2022-11-28 06:05:45 -10:00
commit_builder.rs backend: create ObjectId trait 2023-01-02 12:28:51 -06:00
conflicts.rs backend: create ObjectId trait 2023-01-02 12:28:51 -06:00
content_hash.rs content_hash: absorb duplicate hash() functions 2022-12-03 22:31:02 -08:00
dag_walk.rs copyright: change from "Google LLC" to "The Jujutsu Authors" 2022-11-28 06:05:45 -10:00
diff.rs copyright: change from "Google LLC" to "The Jujutsu Authors" 2022-11-28 06:05:45 -10:00
file_util.rs copyright: change from "Google LLC" to "The Jujutsu Authors" 2022-11-28 06:05:45 -10:00
files.rs Rename FileConflictData to ConflictHunk, use it in files.rs. 2022-12-03 15:12:40 -08:00
git.rs backend: create ObjectId trait 2023-01-02 12:28:51 -06:00
git_backend.rs backend: create BackendError::InvalidHashLength 2023-01-02 12:28:51 -06:00
gitignore.rs copyright: change from "Google LLC" to "The Jujutsu Authors" 2022-11-28 06:05:45 -10:00
index.rs backend: create ObjectId trait 2023-01-02 12:28:51 -06:00
index_store.rs copyright: change from "Google LLC" to "The Jujutsu Authors" 2022-11-28 06:05:45 -10:00
legacy_thrift_op_store.rs backend: create ObjectId trait 2023-01-02 12:28:51 -06:00
lib.rs op_heads_store: refactor into an interface and simple implemenation 2022-12-16 10:47:48 -08:00
local_backend.rs backend: create ObjectId trait 2023-01-02 12:28:51 -06:00
lock.rs copyright: change from "Google LLC" to "The Jujutsu Authors" 2022-11-28 06:05:45 -10:00
matchers.rs matchers: rename Dirs to RepoPathTree as it no longer represents directory 2022-12-30 14:15:27 +09: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: give the OpHeadsStore factory semantics 2022-12-16 10:47:48 -08:00
op_store.rs repo: give OpStore factory load semantics 2022-12-14 14:10:30 -08:00
operation.rs copyright: change from "Google LLC" to "The Jujutsu Authors" 2022-11-28 06:05:45 -10:00
proto_op_store.rs backend: create ObjectId trait 2023-01-02 12:28:51 -06:00
refs.rs backend: create ObjectId trait 2023-01-02 12:28:51 -06:00
repo.rs repo: load correct OpHeadsStore depending on repo's type 2022-12-31 01:22:29 -08:00
repo_path.rs lib: replace protobuf crate with prost 2022-12-22 07:04:35 -08:00
revset.pest revset: parse hg/git-like '^' postfix operator and show hint 2022-12-23 00:38:29 +09:00
revset.rs backend: create BackendError::InvalidHashLength 2023-01-02 12:28:51 -06:00
revset_graph_iterator.rs copyright: change from "Google LLC" to "The Jujutsu Authors" 2022-11-28 06:05:45 -10:00
rewrite.rs backend: create ObjectId trait 2023-01-02 12:28:51 -06:00
settings.rs cli: when config is invalid, use default config 2022-12-24 07:07:37 -08:00
simple_op_heads_store.rs op_heads_store: give the OpHeadsStore factory semantics 2022-12-16 10:47:48 -08:00
simple_op_store.rs backend: create ObjectId trait 2023-01-02 12:28:51 -06:00
simple_op_store_model.rs simple_op_store: replace Protobuf by Thrift 2022-11-13 11:39:33 -08:00
simple_op_store_model.thrift copyright: change from "Google LLC" to "The Jujutsu Authors" 2022-11-28 06:05:45 -10:00
stacked_table.rs cleanup: let new Clippy move variables into format strings 2022-12-14 21:30:58 -08:00
store.rs store: propagate error from Backend::write_commit() 2022-12-26 23:30:52 -08:00
transaction.rs copyright: change from "Google LLC" to "The Jujutsu Authors" 2022-11-28 06:05:45 -10:00
tree.rs backend: create ObjectId trait 2023-01-02 12:28:51 -06:00
tree_builder.rs copyright: change from "Google LLC" to "The Jujutsu Authors" 2022-11-28 06:05:45 -10:00
view.rs copyright: change from "Google LLC" to "The Jujutsu Authors" 2022-11-28 06:05:45 -10:00
working_copy.rs backend: create ObjectId trait 2023-01-02 12:28:51 -06:00
workspace.rs store: propagate error from Backend::write_commit() 2022-12-26 23:30:52 -08:00