##// END OF EJS Templates
merge: disallow merge abort in case of an unfinished operation (issue6160)...
merge: disallow merge abort in case of an unfinished operation (issue6160) This patch disallows `hg merge --abort` in case an operation of higher precedence i.e unshelve, rebase, histedit are in unfinished states. This is done so as to avoid partial abort of these operations in case merge abort is called at an interrupted step. The patch adds a `cmdutil.getunfinishedstate` function which checks for operations under progress and returns a `statecheck` object for it. Differential Revision: https://phab.mercurial-scm.org/D6607

File last commit:

r42780:b8d54f46 default
r42780:b8d54f46 default
Show More
next
90 lines | 3.7 KiB | text/plain | TextLexer
Martin von Zweigbergk
releasenotes: add a file in which to record release notes...
r42457 == New Features ==
* New config `commands.commit.post-status` shows status after successful
commit.
Martin von Zweigbergk
relnotes: document template support for `hg root`...
r42698 * `hg root` now has templating support, including support for showing
where a repo share's source is. See `hg help -v root` for details.
Sushil khanchi
relnotes: document the new --force-close-branch flag...
r42755 * New `--force-close-branch` flag for `hg commit` to forcibly close
branch from a non-head changeset.
Kyle Lippincott
relnotes: document new range-select mechanism in crecord...
r42779 * The curses-based interface for commands like `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."
Martin von Zweigbergk
log: add config for making `hg log -G` always topo-sorted...
r42500
== New Experimental Features ==
* New config `experimental.log.topo` makes `hg log -G` use
topological sorting. This is especially useful for aliases since it
lets the alias accept an `-r` option while still using topological
sorting with or without the `-r` (unlike if you use the `sort(...,
topo)` revset).
Martin von Zweigbergk
releasenotes: add a file in which to record release notes...
r42457 == Bug Fixes ==
Martin von Zweigbergk
templatekw: make {file_*} compare to both merge parents (issue4292)...
r42597 * issue4292: "hg log and {files} {file_adds} {file_mods} {file_dels}
in template show wrong files on merged revision". See details in
"Backwards Compatibility Changes".
Martin von Zweigbergk
releasenotes: add a file in which to record release notes...
r42457
== Backwards Compatibility Changes ==
Martin von Zweigbergk
relnotes: mention removed support for mixed log graph lines...
r42521 * Removed (experimental) support for log graph lines mixing
parent/grandparent styles. Setting
e.g. `experimental.graphstyle.parent = !` and
`experimental.graphstyle.grandparent = 3.` would use `!` for the
first three lines of the graph and then `.`. This is no longer
supported.
Martin von Zweigbergk
relnotes: document changed behavior of ui.origbackuppath pointing to file...
r42564 * If `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.
Martin von Zweigbergk
releasenotes: add a file in which to record release notes...
r42457
Martin von Zweigbergk
templatekw: make {file_*} compare to both merge parents (issue4292)...
r42597 * Template keyword `{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.
Martin von Zweigbergk
releasenotes: add a file in which to record release notes...
r42457 == Internal API Changes ==
* Matchers are no longer iterable. Use `match.files()` instead.
Martin von Zweigbergk
match: use '' instead of '.' for root directory (API)...
r42528
* `match.visitdir()` and `match.visitchildrenset()` now expect the
empty string instead of '.' to indicate the root directory.
Martin von Zweigbergk
util: make util.dirs() and util.finddirs() include root directory (API)...
r42530
* `util.dirs()` and `util.finddirs()` now include an entry for the
root directory (empty string).
Taapas Agrawal
relnotes: added description about statemod._statecheck...
r42735
Navaneeth Suresh
shelve: move shelve extension to core...
r42744 * shelve is no longer an extension now. it will be turned on by default.
Taapas Agrawal
relnotes: added description about statemod._statecheck...
r42735 * New API to manage unfinished operations: Earlier there were distinct APIs
which dealt with unfinished states and separate lists maintaining them
that are `cmdutil.afterresolvestates`, `cmdutil.unfinishedstates` and
`cmdutil.STATES`. Now these have been unified to a single
API which handles the various states and their utilities. This API
has been added to `state.py`. Now instead of adding to these 3 lists
independently a state for a new operation can be registered using
`addunfinished()` in `state` module.
* `cmdutil.checkunfinished()` now includes detection for merge too.
Martin von Zweigbergk
py3: don't run source transformer on hgext3rd (extensions)...
r42774
Taapas Agrawal
merge: disallow merge abort in case of an unfinished operation (issue6160)...
r42780 * merge abort has been disallowed in case an operation of higher
precedence is in progress to avoid cases of partial abort of
operations.
Martin von Zweigbergk
py3: don't run source transformer on hgext3rd (extensions)...
r42774 * We used to automatically attempt to make extensions compatible with
Python 3 (by translating their source code while loading it). We no
longer do that.