Opened 5 years ago
Closed 5 years ago
#12736 closed enhancement (fixed)
Mercurial-5.2
Reported by: | Douglas R. Reno | Owned by: | Bruce Dubbs |
---|---|---|---|
Priority: | normal | Milestone: | 9.1 |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
New minor version
Change History (3)
comment:1 by , 5 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 5 years ago
Note:
See TracTickets
for help on using tickets.
New Features
--currentuser
argument.--close-branch
argument.--secret
argument.rewrite.update-timestamp
config option.Backwards Compatibility Changes
$(command)
` syntax for command substitution is now required for running the test suite. The test runner normally usessh
, so if that is a shell that doesn't support$(command)
syntax, you can override it by setting$HGTEST_SHELL
or by passing it torun-tests.py --shell <shell>
.New Features
commands.commit.post-status
shows status after successful commit.hg root
now has templating support, including support for showing where a repo share's source is. Seehg help -v root
for details.--force-close-branch
flag forhg commit
to forcibly close branch from a non-head changeset.hg commit -i
now supports a range-select mechanism. Select the first line using space like before, navigate to the last line, and press X (capital x) to set all items in the range at once. Lowercase x has been added as a synonym for space to help reinforce the mechanism, and pressing enter/return continues to be a synonym for "toggle the current line and move down to the next item in this section."Bug Fixes
Backwards Compatibility Changes
experimental.graphstyle.parent = !
andexperimental.graphstyle.grandparent = 3.
would use!
for the first three lines of the graph and then.
. This is no longer supported.ui.origbackuppath
had been (incorrectly) configured to point to a file, we will now replace that file by a directory and put backups in that directory. This is similar to how we would previously replace files *in* the configured directory by subdirectories.{file_mods}
,{file_adds}
, and{file_dels}
have changed behavior on merge commits. They used to be relative to the first parent, but they now consider both parents.{file_adds}
shows files that exists in the commit but did not exist in either parent.{file_dels}
shows files that do not exist in the commit but existed in either parent.{file_mods}
show the remaining files from{files}
that were not in the other two sets.Internal API Changes
match.files()
instead.match.visitdir()
andmatch.visitchildrenset()
now expect the empty string instead of '.' to indicate the root directory.util.dirs()
andutil.finddirs()
now include an entry for the root directory (empty string).cmdutil.afterresolvestates
,cmdutil.unfinishedstates
andcmdutil.STATES
. Now these have been unified to a single API which handles the various states and their utilities. This API has been added tostate.py
. Now instead of adding to these 3 lists independently a state for a new operation can be registered usingaddunfinished()
instate
module.cmdutil.checkunfinished()
now includes detection for merge too.