jj/lib/src
Martin von Zweigbergk 3b3f6129e6 backend: allow negative timestamps in commits and operations
I was reading a draft of "Git Rev News: Edition 91" [1] where Peff
mentions some unfinished patches to allow negative timestamps in
Git. So I figured I should add support for that before I forget. I
haven't checked if libgit2 supports it, so it might be that our Git
backend still doesn't support it after this patch.

 [1] https://github.com/git/git.github.io/blob/master/rev_news/drafts/edition-91.md
2022-09-30 00:50:17 -07:00
..
protos backend: allow negative timestamps in commits and operations 2022-09-30 00:50:17 -07:00
backend.rs backend: allow negative timestamps in commits and operations 2022-09-30 00:50:17 -07:00
commit.rs commit: simplify parents() and predecessors() impl 2022-09-25 22:29:07 +09:00
commit_builder.rs backend: let each backend handle root commit on write 2022-09-20 21:20:57 -07:00
conflicts.rs conflicts: simplify state management of parse_conflict_hunk() 2022-09-21 06:03:59 +09:00
dag_walk.rs cleanup: remove extern crate declarations 2022-09-21 22:24:09 -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 tests: use testutils::new_temp_dir() thoroughly 2022-09-07 23:49:46 +09:00
files.rs cleanup: remove workaround for fixed split_inclusive() bug 2022-07-10 11:09:01 -07:00
git.rs git: include a hint about possible permission error when push fails 2022-09-27 02:23:05 -07:00
git_backend.rs backend: allow negative timestamps in commits and operations 2022-09-30 00:50:17 -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 commit: make parent_ids() return slice instead of cloned vec 2022-09-25 22:29:07 +09:00
index_store.rs cleanup: use while let Some(...) instead of checking before popping 2022-05-01 13:45:00 -07:00
lib.rs cleanup: remove extern crate declarations 2022-09-21 22:24:09 -07:00
local_backend.rs repo: write format ("git" or "local") to disk on init 2022-09-25 09:40:42 -07:00
lock.rs tests: use tempfile::TempDir instead of env::temp_dir() + random number 2022-09-07 23:49:46 +09:00
matchers.rs cleanup: remove extern crate declarations 2022-09-21 22:24:09 -07: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: don't pass whole RepoLoader into get_heads() 2022-04-21 21:55:19 -07:00
op_store.rs cleanup: rename checkout to wc_commit 2022-09-18 16:19:58 -07:00
operation.rs store: rename Store to Backend and StoreWrapper to Store 2021-09-12 12:02:10 -07:00
refs.rs store: rename Store to Backend and StoreWrapper to Store 2021-09-12 12:02:10 -07:00
repo.rs repo: make capable of loading repo with out-of-tree backend 2022-09-25 09:40:42 -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 single internal - and + characters in symbols (#46) 2022-04-28 08:14:15 -07:00
revset.rs cleanup: rename some more variables from checkout_* to ~wc_ 2022-09-29 23:51:34 -07:00
revset_graph_iterator.rs revset_graph_iterator: add a mode for generating reverse graph 2022-05-15 05:17:54 -07:00
rewrite.rs cleanup: rename some more variables from checkout_* to ~wc_ 2022-09-29 23:51:34 -07:00
settings.rs cli: disable open commits by default 2022-08-26 23:34:52 -07:00
simple_op_store.rs cleanup: rename some more variables from checkout_* to ~wc_ 2022-09-29 23:51:34 -07:00
stacked_table.rs cleanup: remove extern crate declarations 2022-09-21 22:24:09 -07:00
store.rs backend: let each backend handle root commit on write 2022-09-20 21:20:57 -07:00
testutils.rs cleanup: replace some PathBuf args by &Path 2022-09-25 09:40:42 -07:00
transaction.rs cli: don't keep Repo references from before transaction start 2022-07-06 07:21:57 -07:00
tree.rs errors: use custom error for failed tree merge 2022-05-03 06:52:00 -07:00
tree_builder.rs tree_builder: rename repo() to more accurate store() 2021-11-07 15:17:51 -08:00
view.rs cleanup: rename checkout to wc_commit 2022-09-18 16:19:58 -07:00
working_copy.rs backend: allow negative timestamps in commits and operations 2022-09-30 00:50:17 -07:00
workspace.rs examples: show how to add a custom backend 2022-09-25 09:40:42 -07:00