Accidental modification of mercurial.changelog._defaultextra

2024-02-01 Thread Manuel Jacob
When the raw extra field on a changeset is missing, the mercurial.changelog.changelogrevision.extra property returns the _defaultextra dictionary as-is. Method mercurial.context.changectx.extra() returns that property as-is. The problem is that if someone changes the return value in this case,

Re: Accidental modification of mercurial.changelog._defaultextra

2024-02-01 Thread Pierre-Yves David
On 2/1/24 10:08, Manuel Jacob wrote: When the raw extra field on a changeset is missing, the mercurial.changelog.changelogrevision.extra property returns the _defaultextra dictionary as-is. Method mercurial.context.changectx.extra() returns that property as-is. The problem is that if someone

Re: Accidental modification of mercurial.changelog._defaultextra

2024-02-01 Thread Manuel Jacob
On 01/02/2024 13.56, Pierre-Yves David wrote: On 2/1/24 10:08, Manuel Jacob wrote: When the raw extra field on a changeset is missing, the mercurial.changelog.changelogrevision.extra property returns the _defaultextra dictionary as-is. Method mercurial.context.changectx.extra() returns that

Re: [PATCH 2 of 5] python3.13: fix resourceutil for removed deprecated importlib.resources

2024-02-01 Thread Manuel Jacob
On 12/01/2024 00.59, Mads Kiilerich wrote: # HG changeset patch # User Mads Kiilerich # Date 1705001574 -3600 # Thu Jan 11 20:32:54 2024 +0100 # Branch stable # Node ID a06a7677696d8fa4fc3e33923425ef3fadd6f441 # Parent ab3021e9b0012db64e5bdc70e3f5a36324925d8c python3.13: fix resourceutil

Re: [PATCH 3 of 5] python3.13: address deprecation of re.sub positional argument 'count'

2024-02-01 Thread Manuel Jacob
On 12/01/2024 00.59, Mads Kiilerich wrote: # HG changeset patch # User Mads Kiilerich # Date 1705006735 -3600 # Thu Jan 11 21:58:55 2024 +0100 # Branch stable # Node ID 8e16bc622b04e2eabb3a47138aa3bdffba03e142 # Parent a06a7677696d8fa4fc3e33923425ef3fadd6f441 python3.13: address

Re: [PATCH 5 of 5] rust: update to toml 0.8

2024-02-01 Thread Manuel Jacob
On 12/01/2024 00.59, Mads Kiilerich wrote: # HG changeset patch # User Mads Kiilerich # Date 1704999033 -3600 # Thu Jan 11 19:50:33 2024 +0100 # Branch stable # Node ID 646c00200241229c23dad41b1d086a610aff08b2 # Parent f2e61759ac0e0125e275acc72bda8a00258762b9 rust: update to toml 0.8

Re: [PATCH 1 of 5] python3.13: use sys.executable instead of removed Py_GetProgramFullPath

2024-02-01 Thread Manuel Jacob
On 12/01/2024 00.59, Mads Kiilerich wrote: # HG changeset patch # User Mads Kiilerich # Date 1705001527 -3600 # Thu Jan 11 20:32:07 2024 +0100 # Branch stable # Node ID ab3021e9b0012db64e5bdc70e3f5a36324925d8c # Parent 3f87e0d305cda6e66139a1969cd2cedd45477139 python3.13: use