jj/lib/src
dploch 49e9003c4e
Some checks are pending
binaries / Build binary artifacts (linux-aarch64-gnu, ubuntu-24.04, aarch64-unknown-linux-gnu) (push) Waiting to run
binaries / Build binary artifacts (linux-aarch64-musl, ubuntu-24.04, aarch64-unknown-linux-musl) (push) Waiting to run
binaries / Build binary artifacts (linux-x86_64-gnu, ubuntu-24.04, x86_64-unknown-linux-gnu) (push) Waiting to run
binaries / Build binary artifacts (linux-x86_64-musl, ubuntu-24.04, x86_64-unknown-linux-musl) (push) Waiting to run
binaries / Build binary artifacts (macos-aarch64, macos-14, aarch64-apple-darwin) (push) Waiting to run
binaries / Build binary artifacts (macos-x86_64, macos-13, x86_64-apple-darwin) (push) Waiting to run
binaries / Build binary artifacts (win-x86_64, windows-2022, x86_64-pc-windows-msvc) (push) Waiting to run
nix / flake check (macos-14) (push) Waiting to run
nix / flake check (ubuntu-latest) (push) Waiting to run
build / build (, macos-13) (push) Waiting to run
build / build (, macos-14) (push) Waiting to run
build / build (, ubuntu-latest) (push) Waiting to run
build / build (, windows-latest) (push) Waiting to run
build / build (--all-features, ubuntu-latest) (push) Waiting to run
build / Build jj-lib without Git support (push) Waiting to run
build / Check protos (push) Waiting to run
build / Check formatting (push) Waiting to run
build / Check that MkDocs can build the docs (push) Waiting to run
build / Check that MkDocs can build the docs with Poetry 1.8 (push) Waiting to run
build / cargo-deny (advisories) (push) Waiting to run
build / cargo-deny (bans licenses sources) (push) Waiting to run
build / Clippy check (push) Waiting to run
Codespell / Codespell (push) Waiting to run
website / prerelease-docs-build-deploy (ubuntu-latest) (push) Waiting to run
Scorecards supply-chain security / Scorecards analysis (push) Waiting to run
revset: allow iterators to return evaluation errors
Custom backends may rely on networking or other unreliable implementations to support revsets, this change allows them to return errors cleanly instead of panicking.

For simplicity, only the public-facing Revset and RevsetGraph types are changed in this commit; the internal revset engine remains mostly unchanged and error-free since it cannot generally produce errors.
2024-10-18 17:09:35 -04:00
..
default_index revset: allow iterators to return evaluation errors 2024-10-18 17:09:35 -04:00
lock formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
protos bookmarks: rename proto symbols from "branch" 2024-09-11 20:49:50 -07:00
annotate.rs revset: allow iterators to return evaluation errors 2024-10-18 17:09:35 -04:00
backend.rs object_id: implement Display on ObjectId types 2024-10-16 09:12:16 +09:00
commit.rs style: add semicolon at the end of expressions used as statements 2024-10-04 22:29:13 +02:00
commit_builder.rs refactor: mark Timestamp struct as Copy 2024-09-22 16:23:53 +02:00
conflicts.rs diff: return matching hunk contents from all inputs 2024-10-06 09:45:27 +09:00
content_hash.rs style: add semicolon at the end of expressions used as statements 2024-10-04 22:29:13 +02:00
copies.rs copies: determine copy/rename operation by CopiesTreeDiffStream 2024-08-23 10:29:12 +09:00
dag_walk.rs everything: Rename branches to bookmarks 2024-09-11 18:54:45 +02:00
default_submodule_store.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
diff.rs style: remove unneeded lifetimes from trait implementations 2024-10-17 13:35:06 +02:00
dsl_util.rs templates: support hex bytes in string literals 2024-10-13 12:02:40 +05:30
extensions_map.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
file_util.rs cleanup: remove redundant ::{self} from use declarations 2024-08-23 13:05:27 +09:00
files.rs style: remove unneeded lifetimes from trait implementations 2024-10-17 13:35:06 +02:00
fileset.pest templates: support hex bytes in string literals 2024-10-13 12:02:40 +05:30
fileset.rs fileset: remove Eq + PartialEq from FilesetExpression/Pattern 2024-10-15 06:58:44 +09:00
fileset_parser.rs templates: support hex bytes in string literals 2024-10-13 12:02:40 +05:30
fmt_util.rs
fsmonitor.rs lib: add short method summary to its documentation 2024-10-04 17:09:54 +02:00
git.rs revset: allow iterators to return evaluation errors 2024-10-18 17:09:35 -04:00
git_backend.rs object_id: implement Display on ObjectId types 2024-10-16 09:12:16 +09:00
gitignore.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
gpg_signing.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
graph.rs revset: allow iterators to return evaluation errors 2024-10-18 17:09:35 -04:00
hex_util.rs hex_util: simplify conversion from bytes to reverse hex string 2024-10-16 09:12:16 +09:00
id_prefix.rs revset: allow iterators to return evaluation errors 2024-10-18 17:09:35 -04:00
index.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
lib.rs cli: Add command jj file annotate 2024-10-15 16:31:32 +03:00
local_backend.rs style: avoid using .to_owned()/.to_vec() on owned objects 2024-10-04 22:29:13 +02:00
local_working_copy.rs cli: Support renaming workspaces 2024-09-16 19:35:36 -07:00
lock.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
matchers.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
merge.rs object_id: implement Display on ObjectId types 2024-10-16 09:12:16 +09:00
merged_tree.rs lib: add short method summary to its documentation 2024-10-04 17:09:54 +02:00
object_id.rs object_id: implement Display on ObjectId types 2024-10-16 09:12:16 +09:00
op_heads_store.rs op_heads_store: don't test "no heads" error without acquiring lock 2024-09-21 11:24:00 +09:00
op_store.rs object_id: implement Display on ObjectId types 2024-10-16 09:12:16 +09:00
op_walk.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
operation.rs style: add semicolon at the end of expressions used as statements 2024-10-04 22:29:13 +02:00
refs.rs bookmarks: update some leftover uses of the word "branch" 2024-09-11 19:19:31 -07:00
repo.rs revset: allow iterators to return evaluation errors 2024-10-18 17:09:35 -04:00
repo_path.rs cleanup: remove redundant ::{self} from use declarations 2024-08-23 13:05:27 +09:00
revset.pest templates: support hex bytes in string literals 2024-10-13 12:02:40 +05:30
revset.rs revset: allow iterators to return evaluation errors 2024-10-18 17:09:35 -04:00
revset_parser.rs templates: support hex bytes in string literals 2024-10-13 12:02:40 +05:30
rewrite.rs revset: change the commits() iterator to return RevsetEvaluationError 2024-10-18 17:09:35 -04:00
secret_backend.rs backend: make write methods async 2024-09-04 18:34:11 -07:00
settings.rs style: avoid using .to_owned()/.to_vec() on owned objects 2024-10-04 22:29:13 +02:00
signing.rs sign: Implement SSH signing backend 2024-02-20 00:02:08 +00:00
simple_op_heads_store.rs style: add semicolon at the end of expressions used as statements 2024-10-04 22:29:13 +02:00
simple_op_store.rs repo: teach OpStore about the root commit id 2024-10-08 13:21:03 +09:00
ssh_signing.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
stacked_table.rs lib: add short method summary to its documentation 2024-10-04 17:09:54 +02:00
store.rs store: make write_symlink() async 2024-09-04 18:34:11 -07:00
str_util.rs bookmarks: update some leftover uses of the word "branch" 2024-09-11 19:19:31 -07:00
submodule_store.rs
time_util.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
transaction.rs repo: pack common ReadonlyRepo fields into RepoLoader 2024-10-08 13:21:03 +09:00
tree.rs tree: when merging files, read all sides concurrently 2024-09-04 18:47:14 -07:00
tree_builder.rs store: make write_tree() async 2024-09-04 18:34:11 -07:00
union_find.rs union_find: implement a library for the Union-Find algorithm 2024-05-21 10:52:31 -04:00
view.rs cli: Support renaming workspaces 2024-09-16 19:35:36 -07:00
working_copy.rs cli: Support renaming workspaces 2024-09-16 19:35:36 -07:00
workspace.rs style: remove unneeded lifetimes from trait implementations 2024-10-17 13:35:06 +02:00