v0.22.0 #4568
martinvonz
started this conversation in
General
v0.22.0
#4568
Replies: 1 comment 2 replies
-
Impossible to find in the config docs on the website, I don't think any configuration option should be allowed to be merged without docs for it |
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
Fixing #4239 means the
ordering of some messages have changed.
Invalid
ui.graph.styleconfiguration is now an error.The builtin template
branch_listhas been renamed tobookmark_listas partof the
jj branchdeprecation.Deprecations
jj branchhas been deprecated in favor ofjj bookmark.Rationale: Jujutsu's branches don't behave like Git branches, which a
confused many newcomers, as they expected a similar behavior given the name.
We've renamed them to "bookmarks" to match the actual behavior, as we think
that describes them better, and they also behave similar to Mercurial's
bookmarks.
jj obslogis now calledjj evolution-log/jj evolog.jj obslogremainsas an alias.
jj unsquashhas been deprecated in favor ofjj squashandjj diffedit --restore-descendants.Rationale:
jj squashcan be used in interactive mode to pullchanges from one commit to another, including from a parent commit
to a child commit. For fine-grained dependent diffs, such as when
the parent and the child commits must successively modify the same
location in a file,
jj diffedit --restore-descendantscan be usedto set the parent commit to the desired content without altering the
content of the child commit.
The
git.push-branch-prefixconfig has been deprecated in favor ofgit.push-bookmark-prefix.conflict()andfile()revsets have been renamed toconflicts()andfiles()respectively. The old names are still around and will be removed in a future
release.
New features
The new config option
snapshot.auto-tracklets you automatically track onlythe specified paths (all paths by default). Use the new
jj file trackcommand to manually tracks path that were not automatically tracked. There is
no way to list untracked files yet. Use
git statusin a colocated workspaceas a workaround.
#323
jj fixnow allows fixing unchanged files with the--include-unchanged-filesflag. Thiscan be used to more easily introduce automatic formatting changes in a new
commit separate from other changes.
jj workspace addnow accepts a--sparse-patterns=<MODE>option, whichallows control of the sparse patterns for a newly created workspace:
copy(inherit from parent; default),
full(full working copy), orempty(theempty working copy).
New command
jj workspace renamethat can rename the current workspace.jj op loggained an option to include operation diffs.jj git clonenow accepts a--remote <REMOTE NAME>option, whichallows to set a name for the remote instead of using the default
origin.jj op undonow reports information on the operation that has been undone.jj squash: the-kflag can be used as a shorthand for--keep-emptied.CommitId / ChangeId template types now support
.normal_hex().jj commitandjj describenow accept--authoroption allowing to quickly changeauthor of given commit.
jj diffedit,jj abandon, andjj restorenow accept a--restore-descendantsflag. When used, descendants of the edited or deleted commits will keep their original
content.
jj git fetch -b <remote-git-branch-name>will now warn if the branch(es)can not be found in any of the specified/configured remotes.
jj splitnow lets the user select all changes in interactive mode. This may be usedto keeping all changes into the first commit while keeping the current commit
description for the second commit (the newly created empty one).
Author and committer names are now yellow by default.
Fixed bugs
Update working copy before reporting changes. This prevents errors during reporting
from leaving the working copy in a stale state.
Fixed panic when parsing invalid conflict markers of a particular form.
(#2611)
Editing a hidden commit now makes it visible.
The
present()revset now suppresses missing working copy error. For example,present(@)evaluates tonone()if the current workspace has noworking-copy commit.
Contributors
Thanks to the people who made this release happen!
This discussion was created from the release v0.22.0.
Beta Was this translation helpful? Give feedback.
All reactions