Differences between revisions 14 and 19 (spanning 5 versions)
Revision 14 as of 2018-11-01 13:22:15
Size: 2857
Comment:
Revision 19 as of 2018-11-01 14:11:33
Size: 3265
Editor: PulkitGoyal
Comment:
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
 * [[GenericTemplatingPlan|Command templates (aka formatter templates)]]
 are stabilized. See `hg help <command> -v` for details.
 * New closehead extension to close arbitrary heads without checking them out.
Line 11: Line 14:
 * Rebase gets new `--stop` flag to stop interrupted rebase without discarding the already rebased changes.
Line 12: Line 16:
== Bug Fixes == == New Experimental Features ==
Line 14: Line 18:
== New experimental features ==

 * New absorb extension to m
ake working changes "absorbed" into relevant
changesets.
 * New fastannotate extension to greatly speed up "annotate" with precomputed
 cache
.
 * New absorb extension to make working changes "absorbed" into relevant changesets.
 * New fastannotate extension to greatly speed up "annotate" with precomputed cache and adding new flags like `--deleted`.
Line 22: Line 22:
== Other notable features == == Other Notable Features ==
Line 24: Line 24:
 * Command templates (aka formatter templates) are stabilized. See `hg help <command> -v` for details.
 * Rebaes gets new `--stop` flag to stop interrupted rebase without
 discarding the ongoing changes.
 * New `http.timeout` config option to specify timeout in seconds.
 
Line 29: Line 28:
 * Storage extensions such as lfs are now loaded on demand.
Line 36: Line 36:
== Bug Fixes ==
Line 39: Line 40:
 * narrow extension has gone under big backward compatibility changes like introducing new server capabilities, moving narrowspec file to .hg/store/ etc. It's is highly recommened to update both client and server side narrow extension. <More details to be added>  * The experimental narrow extension has undergone perf and correctness improvements, bug fixes and introducing new capabilities to make it more robust. It's expected that narrow clients with new mercurial version won't be able to interact with narrow server using older version of mercurial. It is recommended to update both client and server versions if you are using narrow for improvements.
Line 51: Line 52:

Mercurial 4.8 release

This page consists of 4.8 release which is work in progress.

1. New Features

  • Command templates (aka formatter templates) are stabilized. See hg help <command> -v for details.

  • New closehead extension to close arbitrary heads without checking them out.
  • New config option commands.resolve.mark-check to warn or abort on resolve --mark when files still have conflict markers

  • New config option commands.resolve.confirm to confirm before performing action when no filename is passed.

  • Rebase gets new --stop flag to stop interrupted rebase without discarding the already rebased changes.

2. New Experimental Features

  • New absorb extension to make working changes "absorbed" into relevant changesets.
  • New fastannotate extension to greatly speed up "annotate" with precomputed cache and adding new flags like --deleted.

  • The phabricator extension gets into hgext.

3. Other Notable Features

  • New http.timeout config option to specify timeout in seconds.

  • Several performance optimizations on fileset query.

  • Sort out command help by categories.
  • Storage extensions such as lfs are now loaded on demand.
  • Improvements to zsh completions:
    • Completing files, shelve and unshelve commands
    • Completing merge tools
    • Completing added and removed (in addition to changed) files to commit and diff commands
    • Numerous updates to flags and descriptions
    • Fixes for minor issues and a couple of performance improvements

4. Bug Fixes

5. Backwards Compatibility Changes

  • The experimental narrow extension has undergone perf and correctness improvements, bug fixes and introducing new capabilities to make it more robust. It's expected that narrow clients with new mercurial version won't be able to interact with narrow server using older version of mercurial. It is recommended to update both client and server versions if you are using narrow for improvements.
  • Emails from the patchbomb extension will always be printed as though they are iso-8859-1 if they're not valid us-ascii. Previously, previewed emails were always claimed to be us-ascii and might contain invalid byte sequences.
  • 'hg debugdata' no longer accepts the path to a revlog file.
  • Bulk-renaming of the formatter template keywords:
    • "{abspath}" and "{file}" to "{path}". Any "{path}" is a repository-absolute path. Use "{path|relpath}" to convert it to a filesystem path.
    • "{copy}" in status command to "{source}".
    • "{oldhashes}" and "{newhashes}" in journal template to "{oldnodes}" and "{newnodes}" respectively.
    • "{line_number}" to "{lineno}".
    • "{status}" of resolve command to "{mergestatus}".
  • A repository will no longer use shared storage if it has a ".hg/sharedpath" file but no entry in ".hg/requires" saying it is shared.
    This change should not have any end-user impact, as all shared repos should have a ".hg/requires" file indicating this.

6. API Changes

7. More notes to sort into the above

7.1. commands

7.2. core

7.3. extensions

7.4. hgweb

7.5. unsorted

Release4.8 (last edited 2018-11-13 02:02:44 by GregorySzorc)