jj/lib
Yuya Nishihara 7a6f832e14 operation: iterate ancestors incrementally with timestamp-based heuristic
Suppose the operation log is mostly linear, this means "jj op log" iterator
won't look ahead more than one entry.

Another idea is to either add a "generation" number to operation data, or
build index of operations. Since we'll eventually add GC command, I don't
think op index would be required. I think readdir() is good enough to resolve
hex prefix against ~10k entries.

For now, walk_ancestors() is a free function. If we add Repo-like abstraction
over OpStore + OpHeadsStore, this function will probably be migrated there.
2023-06-11 11:38:03 +09:00
..
benches benches: group unchanged/modified/reversed-line diffs together 2023-03-27 23:38:56 +09:00
gen-protos cargo: bump prost-build from 0.11.8 to 0.11.9 2023-04-14 16:11:09 +00:00
src operation: iterate ancestors incrementally with timestamp-based heuristic 2023-06-11 11:38:03 +09:00
tests feat(revset): suggest similar branch names 2023-06-05 11:11:17 -05:00
testutils cargo: bump tempfile from 3.5.0 to 3.6.0 2023-06-08 22:53:55 -07:00
build.rs lib: replace protobuf crate with prost 2022-12-22 07:04:35 -08:00
Cargo.toml cargo: bump tempfile from 3.5.0 to 3.6.0 2023-06-08 22:53:55 -07:00