merge: stable heads stable
authorAugie Fackler <augie@google.com>
Wed, 21 Apr 2021 10:58:42 -0400
branchstable
changeset 47004 3c8e4c6ec9bc
parent 47003 41f8f38d8377 (current diff)
parent 47001 5be3e2edd449 (diff)
child 47005 27602e030a1f
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.
--- 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.
--- 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 ==