v0.11.0 #2493
martinvonz
started this conversation in
General
v0.11.0
#2493
Replies: 1 comment 2 replies
-
|
What's the recommended way to update to a release that breaks commit formats? For collocated git repos, would just deleting |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Breaking changes
Conflicts are now stored in a different way. Commits written by a new
jjbinary will not be read correctly by older
jjbinaries. The new modelsolves some performance problems with the old model. For example,
jj logshould be noticeably faster on large repos. You may need to create a new
clone to see the full speedup.
The
remote_branches()revset now includes branches exported to the Gitrepository (so called Git-tracking branches.) Use
remote_branches(remote=exact:"origin")to query branches of certain remote.Status messages are now printed to stderr.
jj config setnow interprets the value as TOML also if it's a valid TOMLarray or table. For example,
jj config set --user 'aliases.n' '["new"]'Remote branches now have tracking or non-tracking flags. The
git.auto-local-branchsetting is applied only to newly fetched remotebranches. Existing remote branches are migrated as follows:
tracking branches.
If the deduced tracking flags are wrong, use
jj branch track/untrackcommands to fix them up.
See automatic local branch creation
for details.
Non-tracking remote branches aren't listed by default. Use
jj branch list --allto show all local and remote branches.It's not allowed to push branches if non-tracking remote branches of the same
name exist.
Pushing deleted/moved branches no longer abandons the local commits referenced
by the remote branches.
jj git fetch --branchnow requiresglob:prefix to expand*in branchname.
New features
jj's stable release can now be installed withcargo binstall jj-cli.jj workspace addnow takes a--revisionargument.jj workspace forgetcan now forget multiple workspaces at once.branches()/remote_branches()/author()/committer()/description()revsets now support glob matching.
jj branch delete/forget/list, andjj git push --branchnow supportstring pattern syntax. The
--globoptionis deprecated in favor of
glob:pattern.The
branches/tags/git_refs/git_headtemplate keywords now return alist of
RefNames. They were previously pre-formatted strings.The new template keywords
local_branches/remote_branchesare added to showonly local/remote branches.
jj workspace addnow preserves all parents of the old working-copy commitinstead of just the first one.
jj rebase -rgained the ability to rebase a revisionAonto a descendantof
A.Fixed bugs
Updating the working copy to a commit where a file that's currently ignored
in the working copy no longer leads to a crash
(#976).
Conflicts in executable files can now be resolved just like conflicts in
non-executable files (#1279).
jj new --insert-beforeand--insert-afternow respect immutable revisions(#2468).
Contributors
Thanks to the people who made this release happen!
This discussion was created from the release v0.11.0.
Beta Was this translation helpful? Give feedback.
All reactions