diff -r 9cc9b4a25248 -r ed0d54b20c5b mercurial/configitems.py --- a/mercurial/configitems.py Fri Apr 16 00:16:43 2021 +0200 +++ b/mercurial/configitems.py Wed May 19 13:14:59 2021 +0200 @@ -1303,6 +1303,14 @@ experimental=True, ) coreconfigitem( + # Enable this dirstate format *when creating a new repository*. + # Which format to use for existing repos is controlled by .hg/requires + b'format', + b'exp-dirstate-v2', + default=False, + experimental=True, +) +coreconfigitem( b'format', b'dotencode', default=True,