ad28299e3c
Feature release. Backwards Compatibility Changes =============================== * The infinitepush extension is believed to be unused, and will be deleted at the end of 2020 unless users contact mercurial-devel@mercurial-scm.org. * 'hg grep' now searches working copy file contents by default. We recognize this is a significant change from past behavior, but surveys of large bodies of users indicated nobody used (and almost nobody understood) the previous no-flags behavior of 'hg grep'. The new behavior aligns with the behavior most users expected (including hg's maintainers), which also happens to be the behavior of 'git grep'. Given that the old behavior was confusing to the point of being unusable, we were comfortable changing this behavior. API Changes =========== * 'mercurial.hg.update*' and 'mercurial.merge.update' now expect a value from a set of NAMED_CONSTANTS ('merge.UPDATECHECK_*' constants) rather than a collection of magic strings. As of now, the values are the same, but code should be prepared for these values to change in the future. * 'mercurial.hg.updatetotally' is now more thorough about checking its 'updatecheck' keyword argument. Previously invalid values would have used the configured default updatecheck method, but now will raise ValueError. * 'mercurial.bookmarks.bmstore' no longer has a convenience method for looking up changectx instances from a bookmark name. Use 'repo[repo.bookmarks[name]]' intead of 'repo.bookmarks.changectx(name)'. 1.1. commands amend: add option to update to the current user amend: enable support for closing the branch amend: enable support for using the secret phase bookmarks: actual fix for race condition deleting bookmark bookmarks: remove changectx() method from bmstore (API) branchmap: explicitly warm+write all subsets of the branchmap caches import: add debug messages when parsing data from patch header import: read X-Mercurial-Node email header to determine nodeid log: populate keywords if specified in custom -Tjson(...) or -Tcbor(...) merge: replace magic strings with NAMED_CONSTANTS (API) push: support config option to require revs be specified when running push 1.2. core exchange: abort on pushing bookmarks pointing to secret changesets (issue6159) exchange: avoid unnecessary conversion of bookmark nodes to hex (API) revlog: add a 'sidedata' parameters to addrevision revlog: add a way to control sidedata changes during revlog.clone revlog: add the appropriate flag is sidedata are passed to 'addrevision' revlog: assign rawtext earlier in '_revisiondata' revlog: avoid caching raw text too early in _revisiondata revlog: deprecate the use of 'revision(..., raw=True)' revlog: drop silly 'raw' parameter to 'rawdata' function revlog: explicitly set revlogv0 in vfs options revlog: introduce a 'sidedata' method revlog: move 'nullid' early return sooner in '_revisiondata' revlog: return sidedata map from '_revisiondata' revlog: stop calling 'basetext' 'rawtext' in _revisiondata revlog: stop using '_processflags' directly revlog: use the new sidedata map return in the sidedata method templatefuncs: account for user's diffopts in diff() (BC) ui: option to preserve the progress bar 1.3. extensions eol: don't fallback to use .hgeol from tip (BC) largefiles: use context manager for setting "lfstatus" on subrepos too rebase: track new nodes when --keep is set unshelve: abort on using --keep and --interactive together unshelve: add abort on using continue and interactive together unshelve: changes how date is set on interactive mode unshelve: create a matcher only if required on creating unshelve ctx unshelve: delete shelvedstate after a successful unshelve --continue unshelve: forget unknown files after a partial unshelve unshelve: handle stripping changesets on interactive mode unshelve: store information about interactive mode in shelvedstate unshelve: unify logic around creating an unshelve changeset 1.4. unsorted automation: add a command to submit to a Try server automation: support and use Debian Buster by default changelog: make copies related function return None or a valid value continue: added support for transplant copies: remove existing copy info from the changeset on amend (BC) demandimport: explicitly declare '_session' at the module level discovery: replace "heads" by "changesets" in a output note (BC) fastannotate: remove support for flock() locking fix: warn when a fixer doesn't have a configured command flagprocessors: deprecate _processflags flagprocessors: have the read transform function return side data (API) flagprocessors: writetransform function take side data as parameter (API) flagutil: move REVIDX_KNOWN_FLAGS source of truth in flagutil (API) flagutil: move addflagprocessor to the new module (API) flagutil: move insertflagprocessor to the new module (API) format: format commands.py, which recently regressed grep: enable all-files by default (BC) hg: have 'updatetotally' more thoroughly check updatecheck argument (API) infinitepush: mark extension as likely to be deleted narrow: don't hexify paths and double-hexify known nodes on wire (BC) narrow: drop server support for widening using the getbundle command (BC) notify: add option for deterministic message-id generation py3: prevent comparison with None in curses histedit (issue6196) python-zstandard: apply big-endian fix (issue6188) remotefilelog: reduce probability of race-condition in remotefilelog tests rust-dirstate-status: add call to rust-fast path for 'dirstate.status' rust-dirstate-status: rust-cpython bindings for 'dirstate.status' rust-dirstate-status: use fast-path even with fsmonitor and sparse extensions rust-discovery: optionally don't randomize at all, for tests sidedata: introduce a new requirement to protect the feature split: handle partial commit of renames when doing split or record (issue5723) sshserver: flush stream after command dispatch test: allow different result for zstd compression (issue6188) transplant: added support for --stop flag uncommit: add options to update to the current user or current date uncommit: add support to modify the commit message and date uncommit: drop the hyphen from --current-user and --current-date uncommit: enable support for adding a note uncommit: make -D/--date and -U/--user mutually exclusive 1.5. Behavior Changes copies: remove existing copy info from the changeset on amend (BC) discovery: replace "heads" by "changesets" in a output note (BC) eol: don't fallback to use .hgeol from tip (BC) grep: enable all-files by default (BC) narrow: don't hexify paths and double-hexify known nodes on wire (BC) narrow: drop server support for widening using the getbundle command (BC) templatefuncs: account for user's diffopts in diff() (BC) 1.6. Internal API Changes bookmarks: remove changectx() method from bmstore (API) exchange: avoid unnecessary conversion of bookmark nodes to hex (API) flagprocessors: have the read transform function return side data (API) flagprocessors: writetransform function take side data as parameter (API) flagutil: move REVIDX_KNOWN_FLAGS source of truth in flagutil (API) flagutil: move addflagprocessor to the new module (API) flagutil: move insertflagprocessor to the new module (API) hg: have 'updatetotally' more thoroughly check updatecheck argument (API) merge: replace magic strings with NAMED_CONSTANTS (API) |
||
---|---|---|
.. | ||
DESCR | ||
distinfo | ||
Makefile | ||
PLIST | ||
version.mk |