Martin von Zweigbergk
ed0b23d009
cli: include commit id from build in version
...
This changes the version number reported by `jj version` from "0.7.0"
to something like
"0.7.0-24a512683bc921699575b6a953624b05c068d544a". The hash is added
if running in a jj repo or a git repo.
2023-04-07 17:33:44 -07:00
dependabot[bot]
feeb83dc0f
cargo: bump libc from 0.2.140 to 0.2.141
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.140 to 0.2.141.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.140...0.2.141 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-04 10:02:26 -07:00
dependabot[bot]
fb27885c5d
cargo: bump git2 from 0.16.1 to 0.17.0
...
Bumps [git2](https://github.com/rust-lang/git2-rs ) from 0.16.1 to 0.17.0.
- [Release notes](https://github.com/rust-lang/git2-rs/releases )
- [Changelog](https://github.com/rust-lang/git2-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.16.1...git2-curl-0.17.0 )
---
updated-dependencies:
- dependency-name: git2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-03 09:24:05 -07:00
dependabot[bot]
0f108e278d
cargo: bump pest from 2.5.6 to 2.5.7
...
Bumps [pest](https://github.com/pest-parser/pest ) from 2.5.6 to 2.5.7.
- [Release notes](https://github.com/pest-parser/pest/releases )
- [Commits](https://github.com/pest-parser/pest/compare/v2.5.6...v2.5.7 )
---
updated-dependencies:
- dependency-name: pest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-31 09:27:29 -07:00
dependabot[bot]
b62cccf6dc
cargo: bump dirs from 4.0.0 to 5.0.0
...
Bumps [dirs](https://github.com/soc/dirs-rs ) from 4.0.0 to 5.0.0.
- [Release notes](https://github.com/soc/dirs-rs/releases )
- [Commits](https://github.com/soc/dirs-rs/commits )
---
updated-dependencies:
- dependency-name: dirs
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-31 09:23:21 -07:00
Martin von Zweigbergk
68fb46b2af
op_store: drop support for upgrading from Thrift implementation
2023-03-30 20:00:33 -07:00
dependabot[bot]
bf03e557c1
cargo: bump clap from 4.1.9 to 4.1.11
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.1.9 to 4.1.11.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v4.1.9...v4.1.11 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-30 16:56:12 +00:00
dependabot[bot]
fa9cc70471
cargo: bump clap_complete from 4.1.5 to 4.2.0
...
Bumps [clap_complete](https://github.com/clap-rs/clap ) from 4.1.5 to 4.2.0.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.1.5...clap_complete-v4.2.0 )
---
updated-dependencies:
- dependency-name: clap_complete
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-30 16:44:06 +00:00
dependabot[bot]
0d581809fc
cargo: bump tempfile from 3.4.0 to 3.5.0
...
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/Stebalien/tempfile/releases )
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/NEWS )
- [Commits](https://github.com/Stebalien/tempfile/commits )
---
updated-dependencies:
- dependency-name: tempfile
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-30 16:38:19 +00:00
Martin von Zweigbergk
327deeb0c4
cli: move jj bench
commands to new module, hide behind feature flag
...
The `jj bench` commands are mostly meant for developers, so lets hide
the command from help and behind a `bench` feature flag. The feature
flags avoids bloating the binary with the `criterion` dependencies,
which was the reason I removed the command in 18c0b97d9d
.
2023-03-28 10:21:10 -07:00
Martin von Zweigbergk
48fbf7e1bd
cli: revive jj bench
command
...
This just backs out commit 18c0b97d9d
without making any changes,
except for resolving conflicts.
I want a way to benchmark different revsets on e.g. the Git Core repo
or the Linux repo.
2023-03-28 10:21:10 -07:00
dependabot[bot]
77164d6456
cargo: bump regex from 1.7.2 to 1.7.3
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.7.2 to 1.7.3.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.7.2...1.7.3 )
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-27 16:22:29 +00:00
dependabot[bot]
b1d4033558
cargo: bump indexmap from 1.9.2 to 1.9.3
...
Bumps [indexmap](https://github.com/bluss/indexmap ) from 1.9.2 to 1.9.3.
- [Release notes](https://github.com/bluss/indexmap/releases )
- [Changelog](https://github.com/bluss/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/bluss/indexmap/compare/1.9.2...1.9.3 )
---
updated-dependencies:
- dependency-name: indexmap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-27 16:15:34 +00:00
Yuya Nishihara
91d0c28080
benches: move diff_bench to lib crate
...
It has no dependency on the cli crate.
2023-03-27 23:38:56 +09:00
Yuya Nishihara
7ebffe8e6f
cargo: sort dependencies in lexicographical order
...
This should help future cargo add.
2023-03-27 23:38:56 +09:00
Martin von Zweigbergk
d4a98aed7d
cargo: remove unused dependency predicates
crate
2023-03-24 13:04:14 -07:00
dependabot[bot]
216e4e1dd1
cargo: bump predicates from 2.1.5 to 3.0.2
...
Bumps [predicates](https://github.com/assert-rs/predicates-rs ) from 2.1.5 to 3.0.2.
- [Release notes](https://github.com/assert-rs/predicates-rs/releases )
- [Changelog](https://github.com/assert-rs/predicates-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/assert-rs/predicates-rs/compare/v2.1.5...v3.0.2 )
---
updated-dependencies:
- dependency-name: predicates
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-24 10:06:15 -07:00
dependabot[bot]
f1775d5cea
cargo: bump toml_edit from 0.19.7 to 0.19.8
...
Bumps [toml_edit](https://github.com/ordian/toml_edit ) from 0.19.7 to 0.19.8.
- [Release notes](https://github.com/ordian/toml_edit/releases )
- [Commits](https://github.com/ordian/toml_edit/compare/v0.19.7...v0.19.8 )
---
updated-dependencies:
- dependency-name: toml_edit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-23 09:35:10 -07:00
dependabot[bot]
4dc97de928
cargo: bump insta from 1.28.0 to 1.29.0
...
Bumps [insta](https://github.com/mitsuhiko/insta ) from 1.28.0 to 1.29.0.
- [Release notes](https://github.com/mitsuhiko/insta/releases )
- [Changelog](https://github.com/mitsuhiko/insta/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mitsuhiko/insta/compare/1.28.0...1.29.0 )
---
updated-dependencies:
- dependency-name: insta
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-23 09:34:27 -07:00
Yuya Nishihara
ddeb645d7f
cli: provide hint for typo of revset function name
...
This is similar to what Mercurial does. The similarity threshold is copied
from clap, but we might want to adjust it later.
2023-03-23 23:08:17 +09:00
dependabot[bot]
942bb4c8c4
cargo: bump regex from 1.7.1 to 1.7.2
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.7.1 to 1.7.2.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.7.1...1.7.2 )
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-21 16:15:53 +00:00
dependabot[bot]
522de4f8c7
cargo: bump thiserror from 1.0.39 to 1.0.40
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.39 to 1.0.40.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.39...1.0.40 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-20 20:34:15 +00:00
Martin von Zweigbergk
8f1dc49039
cargo: upgrade to clap 4.1
...
This includes some changes to error messages. Also, the Zsh shell
completion script is now simpler to source.
Fixes #1393 .
2023-03-17 22:44:29 -07:00
Martin von Zweigbergk
2495c8f27e
cargo: update MSRV to 1.64
...
We need 1.64 to bump `clap` to `4.1`. We don't really need to upgrade
to that, but being on an older version causes minor confusions like
#1393 . Rust 1.64 is very close to 6 months old at this point.
2023-03-17 22:44:29 -07:00
dependabot[bot]
abbc439b17
cargo: bump toml_edit from 0.19.5 to 0.19.7
...
Bumps [toml_edit](https://github.com/ordian/toml_edit ) from 0.19.5 to 0.19.7.
- [Release notes](https://github.com/ordian/toml_edit/releases )
- [Commits](https://github.com/ordian/toml_edit/compare/v0.19.5...v0.19.7 )
---
updated-dependencies:
- dependency-name: toml_edit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-15 10:08:44 -07:00
dependabot[bot]
f5de5707b2
cargo: bump chrono from 0.4.23 to 0.4.24
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.23 to 0.4.24.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.23...v0.4.24 )
---
updated-dependencies:
- dependency-name: chrono
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-13 10:41:49 -07:00
dependabot[bot]
3b40231285
cargo: bump toml_edit from 0.19.4 to 0.19.5
...
Bumps [toml_edit](https://github.com/ordian/toml_edit ) from 0.19.4 to 0.19.5.
- [Release notes](https://github.com/ordian/toml_edit/releases )
- [Commits](https://github.com/ordian/toml_edit/compare/v0.19.4...v0.19.5 )
---
updated-dependencies:
- dependency-name: toml_edit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-13 10:41:21 -07:00
dependabot[bot]
87c44f454d
cargo: bump libc from 0.2.139 to 0.2.140
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.139 to 0.2.140.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.139...0.2.140 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-09 08:23:37 -08:00
dependabot[bot]
7da0994d58
cargo: bump thiserror from 1.0.38 to 1.0.39
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.38 to 1.0.39.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.38...1.0.39 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-06 18:48:04 +00:00
dependabot[bot]
1656117e6a
cargo: bump pest from 2.5.5 to 2.5.6
...
Bumps [pest](https://github.com/pest-parser/pest ) from 2.5.5 to 2.5.6.
- [Release notes](https://github.com/pest-parser/pest/releases )
- [Commits](https://github.com/pest-parser/pest/compare/v2.5.5...v2.5.6 )
---
updated-dependencies:
- dependency-name: pest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-06 10:20:09 -08:00
Yuya Nishihara
d9ed2895db
templater: rewrite syntax tests to not build evaluation object
...
Now we have AST objects, so we don't need to evaluate integer literal to
test parsing results.
2023-03-04 00:01:54 +09:00
dependabot[bot]
379739a244
cargo: bump toml_edit from 0.19.1 to 0.19.4
...
Bumps [toml_edit](https://github.com/ordian/toml_edit ) from 0.19.1 to 0.19.4.
- [Release notes](https://github.com/ordian/toml_edit/releases )
- [Commits](https://github.com/ordian/toml_edit/compare/v0.19.1...v0.19.4 )
---
updated-dependencies:
- dependency-name: toml_edit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-02 00:02:22 +01:00
David Barnett
99cb0ba7c5
Implement "config set" subcommand
...
Uses toml_edit to support simple config edits like:
jj config set --repo user.email "somebody@example.com"
2023-02-28 18:18:02 -08:00
dependabot[bot]
7de17ce4e7
cargo: bump tempfile from 3.3.0 to 3.4.0
...
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/Stebalien/tempfile/releases )
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/NEWS )
- [Commits](https://github.com/Stebalien/tempfile/commits )
---
updated-dependencies:
- dependency-name: tempfile
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27 11:06:51 -08:00
dependabot[bot]
c53544aecf
cargo: bump slab from 0.4.7 to 0.4.8
...
Bumps [slab](https://github.com/tokio-rs/slab ) from 0.4.7 to 0.4.8.
- [Release notes](https://github.com/tokio-rs/slab/releases )
- [Changelog](https://github.com/tokio-rs/slab/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/slab/compare/v0.4.7...v0.4.8 )
---
updated-dependencies:
- dependency-name: slab
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-20 13:03:41 -08:00
Martin von Zweigbergk
eb79a21cc0
release: release version 0.7.0
...
It's been about 10 weeks and 730 commits since 0.6.0, compared to
about 7 weeks and 350 commits between 0.5.0 and 0.6.0, so it's time
for a new release. There's been significant user-visible changes and
code-quality improvements. Thanks, everyone!
2023-02-16 12:50:52 -08:00
dependabot[bot]
78cdf71d9a
cargo: bump insta from 1.26.0 to 1.28.0
...
Bumps [insta](https://github.com/mitsuhiko/insta ) from 1.26.0 to 1.28.0.
- [Release notes](https://github.com/mitsuhiko/insta/releases )
- [Changelog](https://github.com/mitsuhiko/insta/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mitsuhiko/insta/compare/1.26.0...1.28.0 )
---
updated-dependencies:
- dependency-name: insta
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-16 16:53:47 +00:00
dependabot[bot]
65ff1afb0d
cargo: bump once_cell from 1.17.0 to 1.17.1
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.17.0 to 1.17.1.
- [Release notes](https://github.com/matklad/once_cell/releases )
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.17.0...v1.17.1 )
---
updated-dependencies:
- dependency-name: once_cell
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-14 16:23:42 +00:00
dependabot[bot]
9791152cb9
cargo: bump pest from 2.5.4 to 2.5.5
...
Bumps [pest](https://github.com/pest-parser/pest ) from 2.5.4 to 2.5.5.
- [Release notes](https://github.com/pest-parser/pest/releases )
- [Commits](https://github.com/pest-parser/pest/compare/v2.5.4...v2.5.5 )
---
updated-dependencies:
- dependency-name: pest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-08 08:24:00 -08:00
Samuel Tardieu
f986415ef7
cargo: remove unused 'test-case' dev dependency
2023-02-06 13:14:43 +01:00
dependabot[bot]
b88478d8d2
cargo: bump crossterm from 0.25.0 to 0.26.0
...
Bumps [crossterm](https://github.com/crossterm-rs/crossterm ) from 0.25.0 to 0.26.0.
- [Release notes](https://github.com/crossterm-rs/crossterm/releases )
- [Changelog](https://github.com/crossterm-rs/crossterm/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crossterm-rs/crossterm/compare/0.25...0.26 )
---
updated-dependencies:
- dependency-name: crossterm
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 08:30:56 -08:00
Martin von Zweigbergk
0b99e5b16e
graphlog: enable Sapling's graph styles by default
...
I would also rename the feature, but I hope we can instead soon make
it a non-optional dependency and delete the feature.
2023-01-27 09:46:57 -08:00
Martin von Zweigbergk
06348807f0
cargo: get renderdag from crates.io
...
Now that the `renderdag` crate is available on crates.io (thanks,
@quark-zju!), let's get it from there.
It has no optional features, so we don't need `default-features =
false`. I should have done that when we switched from the `dag` crate
to the `renderdag` crate.
2023-01-27 09:46:57 -08:00
dependabot[bot]
5d675f13a2
cargo: bump timeago from 0.4.0 to 0.4.1
...
Bumps [timeago](https://github.com/vi/timeago ) from 0.4.0 to 0.4.1.
- [Release notes](https://github.com/vi/timeago/releases )
- [Commits](https://github.com/vi/timeago/compare/v0.4.0...v0.4.1 )
---
updated-dependencies:
- dependency-name: timeago
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-26 09:16:03 -08:00
dependabot[bot]
9dd5fe108a
cargo: bump pest from 2.5.3 to 2.5.4
...
Bumps [pest](https://github.com/pest-parser/pest ) from 2.5.3 to 2.5.4.
- [Release notes](https://github.com/pest-parser/pest/releases )
- [Commits](https://github.com/pest-parser/pest/compare/v2.5.3...v2.5.4 )
---
updated-dependencies:
- dependency-name: pest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-24 16:50:17 +01:00
Martin von Zweigbergk
e46cbfc9d0
cargo: replace dependency on Sapling's dag
by renderdag
...
The rendering is now its own crate, so we don't need to depend on the
other `dag` code.
Fixes #1056 .
2023-01-22 00:03:48 -08:00
dependabot[bot]
034a23f4ec
cargo: bump git2 from 0.16.0 to 0.16.1
...
Bumps [git2](https://github.com/rust-lang/git2-rs ) from 0.16.0 to 0.16.1.
- [Release notes](https://github.com/rust-lang/git2-rs/releases )
- [Commits](https://github.com/rust-lang/git2-rs/compare/git2-curl-0.16.0...0.16.1 )
---
updated-dependencies:
- dependency-name: git2
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-21 00:05:57 +00:00
Michael Forster
27228ce292
Update MSRV to 1.61
...
This is needed for compatibility with the sapling dag crate.
2023-01-19 10:29:39 +01:00
Michael Forster
536ac87b11
Configure nix development shell environment
...
This gets used by `nix develop`, or automatically by `direnv` if you have it
installed.
The binary versions are pinned to the versions recommended by `contributing.md`.
```
>> cargo --version
cargo 1.60.0 (d1fd9fe 2022-03-01)
>> rustc --version
rustc 1.60.0 (7737e0b5c 2022-04-04)
>> cargo fmt --version
rustfmt 1.5.1-nightly (3984bc5 2023-01-17)
>> cargo clippy --version
clippy 0.1.60 (7737e0b 2022-04-04)
```
2023-01-19 06:45:50 +01:00
Ilya Grigoriev
f2114f63ee
jj duplicate
: Allow duplicating several commits at once
...
The `indexmap` crate is used to make `duplicate`'s output have a sane order,
making it easier to test.
It's also used later to remove duplicate revisions in the `abandon` command.
2023-01-17 21:17:27 -08:00