# HG changeset patch # User Augie Fackler # Date 1619017122 14400 # Node ID 3c8e4c6ec9bc756c908d95e1f9b3cd368641cd5c # Parent 41f8f38d837773f18afb9dd0f4f8bbab14d23b80# Parent 5be3e2edd449828f728124db482addc151e2d441 merge: stable heads I forgot to pull before rolling rc1, so we just have a couple of patches that missed the rc1 train. Mea culpa. diff -r 41f8f38d8377 -r 3c8e4c6ec9bc mercurial/mail.py --- a/mercurial/mail.py Wed Apr 21 10:49:29 2021 -0400 +++ b/mercurial/mail.py Wed Apr 21 10:58:42 2021 -0400 @@ -220,6 +220,7 @@ def _mbox(mbox, sender, recipients, msg): '''write mails to mbox''' + # TODO: use python mbox library for proper locking with open(mbox, b'ab+') as fp: # Should be time.asctime(), but Windows prints 2-characters day # of month instead of one. Make them print the same thing. diff -r 41f8f38d8377 -r 3c8e4c6ec9bc relnotes/next --- a/relnotes/next Wed Apr 21 10:49:29 2021 -0400 +++ b/relnotes/next Wed Apr 21 10:58:42 2021 -0400 @@ -11,6 +11,24 @@ for compression. The default is single threaded operation. Currently only supported for zstd. +== Default Format Change == + +These changes affects newly created repositories (or new clone) done with +Mercurial 5.8. + + * The `ZSTD` compression will now be used by default for new repositories + when available. This compression format was introduced in Mercurial 5.0, + released in May 2019. See `hg help config.format.revlog-compression` for + details. + + * Mercurial installation built with the Rust parts will now use the + "persistent nodemap" feature by default. This feature was introduced in + Mercurial 5.4 (May 2020). However Mercurial instalation built without the + fast Rust implementation will refuse to interract with them by default. + This restriction can be lifted through configuration. + + See `hg help config.format.use-persistent-nodemap` for details + == New Experimental Features == * There's a new `diff.merge` config option to show the changes @@ -22,6 +40,7 @@ == Bug Fixes == + * gracefully recover from inconsistent persistent-nodemap data from disk. == Backwards Compatibility Changes == @@ -31,7 +50,7 @@ repositories violate this condition. The revlog code will now silentely swap the parents if this condition is tested. This can change the output of `hg log` when explicitly asking for first or - second parent. + second parent. The changesets "nodeid" are not affected. == Internal API Changes ==