mercurial@50349: new changeset (1 on stable)

2023-03-21 Thread Mercurial Commits
New changeset (1 on stable) in mercurial:

https://www.mercurial-scm.org/repo/hg/rev/4be9ecc982e1
changeset:   50349:4be9ecc982e1
branch:  stable
tag: tip
user:Mads Kiilerich 
date:Tue Mar 21 17:07:22 2023 +0100
summary: py3: fix for Python 3.12 emitting SyntaxWarning on invalid escape 
sequences

-- 
Repository URL: https://www.mercurial-scm.org/repo/hg
___
Mercurial-devel mailing list
Mercurial-devel@lists.mercurial-scm.org
https://lists.mercurial-scm.org/mailman/listinfo/mercurial-devel


mercurial@50348: new changeset (1 on stable)

2023-03-21 Thread Mercurial Commits
New changeset (1 on stable) in mercurial:

https://www.mercurial-scm.org/repo/hg/rev/3bb7c56e8fe6
changeset:   50348:3bb7c56e8fe6
branch:  stable
tag: tip
user:Julien Cristau 
date:Tue Mar 21 15:27:03 2023 +0100
summary: url: don't ignore timeout for https connections

-- 
Repository URL: https://www.mercurial-scm.org/repo/hg
___
Mercurial-devel mailing list
Mercurial-devel@lists.mercurial-scm.org
https://lists.mercurial-scm.org/mailman/listinfo/mercurial-devel


mercurial@50347: new changeset (1 on stable)

2023-03-21 Thread Mercurial Commits
New changeset (1 on stable) in mercurial:

https://www.mercurial-scm.org/repo/hg/rev/af776c3d5c3e
changeset:   50347:af776c3d5c3e
branch:  stable
tag: tip
user:Pierre-Yves David 
date:Tue Mar 21 15:44:38 2023 +
summary: debugdeltachain: stop summing the same chain over and over

-- 
Repository URL: https://www.mercurial-scm.org/repo/hg
___
Mercurial-devel mailing list
Mercurial-devel@lists.mercurial-scm.org
https://lists.mercurial-scm.org/mailman/listinfo/mercurial-devel


Re: [PATCH 1 of 2] py3: fix for Python 3.12 emitting SyntaxWarning on invalid escape sequences

2023-03-21 Thread Mads Kiilerich

Thanks for landing the previous 3.12 fixes. But I missed one fix ...

The remaining test failures on 3.12 are mostly from the removal 
(asyncore, smtpd and distutils) and deprecation (cgitb) in standard library.


/Mads
___
Mercurial-devel mailing list
Mercurial-devel@lists.mercurial-scm.org
https://lists.mercurial-scm.org/mailman/listinfo/mercurial-devel


[PATCH 2 of 2] tests: avoid using black >= 21

2023-03-21 Thread Mads Kiilerich
# HG changeset patch
# User Mads Kiilerich 
# Date 1679416596 -3600
#  Tue Mar 21 17:36:36 2023 +0100
# Branch stable
# Node ID c6a1fc106a05b608983caced38a1849b2f4b476f
# Parent  812482250f8d49159bb3024f08e0db38d0bad565
tests: avoid using black >= 21

Different formatting will make test-check-format.t fail.

diff --git a/tests/hghave.py b/tests/hghave.py
--- a/tests/hghave.py
+++ b/tests/hghave.py
@@ -1115,7 +1115,7 @@ def has_black():
 version_regex = b'black, (?:version )?([0-9a-b.]+)'
 version = matchoutput(blackcmd, version_regex)
 sv = distutils.version.StrictVersion
-return version and sv(_bytes2sys(version.group(1))) >= sv('20.8b1')
+return version and sv('20.8b1') <= sv(_bytes2sys(version.group(1))) < 
sv('21')
 
 
 @check('pytype', 'the pytype type checker')

___
Mercurial-devel mailing list
Mercurial-devel@lists.mercurial-scm.org
https://lists.mercurial-scm.org/mailman/listinfo/mercurial-devel


[PATCH 1 of 2] py3: fix for Python 3.12 emitting SyntaxWarning on invalid escape sequences

2023-03-21 Thread Mads Kiilerich
# HG changeset patch
# User Mads Kiilerich 
# Date 1679414842 -3600
#  Tue Mar 21 17:07:22 2023 +0100
# Branch stable
# Node ID 812482250f8d49159bb3024f08e0db38d0bad565
# Parent  87f0155d68aa56dcba2326692fff893c283cca96
py3: fix for Python 3.12 emitting SyntaxWarning on invalid escape sequences

Missed in 805d4a462abb:

  $ python3.12 mercurial/store.py
  mercurial/store.py:406: SyntaxWarning: invalid escape sequence '\.'
EXCLUDED = re.compile(b'.*undo\.[^/]+\.(nd?|i)$')

diff --git a/mercurial/store.py b/mercurial/store.py
--- a/mercurial/store.py
+++ b/mercurial/store.py
@@ -403,7 +403,7 @@ REVLOG_FILES_VOLATILE_EXT = (b'.n', b'.n
 # some exception to the above matching
 #
 # XXX This is currently not in use because of issue6542
-EXCLUDED = re.compile(b'.*undo\.[^/]+\.(nd?|i)$')
+EXCLUDED = re.compile(br'.*undo\.[^/]+\.(nd?|i)$')
 
 
 def is_revlog(f, kind, st):

___
Mercurial-devel mailing list
Mercurial-devel@lists.mercurial-scm.org
https://lists.mercurial-scm.org/mailman/listinfo/mercurial-devel


mercurial-devel | Failed pipeline for branch/stable | 87f0155d

2023-03-21 Thread Heptapod


Pipeline #64611 has failed!

Project: mercurial-devel ( https://foss.heptapod.net/mercurial/mercurial-devel )
Branch: branch/stable ( 
https://foss.heptapod.net/mercurial/mercurial-devel/-/commits/branch/stable )

Commit: 87f0155d ( 
https://foss.heptapod.net/mercurial/mercurial-devel/-/commit/87f0155d68aa56dcba2326692fff893c283cca96
 )
Commit Message: revlog: improve the robustness of the splitting...
Commit Author: Pierre-Yves David ( https://foss.heptapod.net/marmoute )

Pipeline #64611 ( 
https://foss.heptapod.net/mercurial/mercurial-devel/-/pipelines/64611 ) 
triggered by Raphaël Gomès ( https://foss.heptapod.net/raphael.gomes )
had 1 failed job.

Job #1793523 ( 
https://foss.heptapod.net/mercurial/mercurial-devel/-/jobs/1793523/raw )

Stage: tests
Name: test-rust

-- 
You're receiving this email because of your account on foss.heptapod.net.



___
Mercurial-devel mailing list
Mercurial-devel@lists.mercurial-scm.org
https://lists.mercurial-scm.org/mailman/listinfo/mercurial-devel


mercurial@50346: 11 new changesets (11 on stable)

2023-03-21 Thread Mercurial Commits
11 new changesets (11 on stable) in mercurial:

https://www.mercurial-scm.org/repo/hg/rev/90276164333a
changeset:   50336:90276164333a
branch:  stable
parent:  50334:972f3e5c94b8
user:Pierre-Yves David 
date:Wed Mar 15 11:18:24 2023 +0100
summary: transaction: properly clean up backup file outside of .hg/store/

https://www.mercurial-scm.org/repo/hg/rev/70ca1f09ceca
changeset:   50337:70ca1f09ceca
branch:  stable
user:Pierre-Yves David 
date:Wed Mar 15 12:08:05 2023 +0100
summary: transaction: add clarifying comment about why ignoring some error 
is fine

https://www.mercurial-scm.org/repo/hg/rev/cab3defe6d3b
changeset:   50338:cab3defe6d3b
branch:  stable
user:Pierre-Yves David 
date:Wed Mar 15 12:13:08 2023 +0100
summary: transaction: raise on backup restoration error

https://www.mercurial-scm.org/repo/hg/rev/86dc9e097bed
changeset:   50339:86dc9e097bed
branch:  stable
user:Pierre-Yves David 
date:Wed Mar 15 13:20:12 2023 +0100
summary: transaction: move the restoration of backup file in a small closure

https://www.mercurial-scm.org/repo/hg/rev/4c1061b3e55a
changeset:   50340:4c1061b3e55a
branch:  stable
user:Pierre-Yves David 
date:Wed Mar 15 14:29:37 2023 +0100
summary: transaction: allow to backup file that already have an offset

https://www.mercurial-scm.org/repo/hg/rev/e2ba2234bf1c
changeset:   50341:e2ba2234bf1c
branch:  stable
user:Pierre-Yves David 
date:Thu Mar 16 20:37:11 2023 +0100
summary: revlog: update the split + transaction test

https://www.mercurial-scm.org/repo/hg/rev/c185545a4c69
changeset:   50342:c185545a4c69
branch:  stable
user:Pierre-Yves David 
date:Thu Mar 16 21:04:52 2023 +0100
summary: revlog: add a failing variant of the the split + transaction test

https://www.mercurial-scm.org/repo/hg/rev/b0cdd0bea103
changeset:   50343:b0cdd0bea103
branch:  stable
user:Pierre-Yves David 
date:Fri Mar 17 02:46:51 2023 +0100
summary: revlog: test possible read race condition with splitting

https://www.mercurial-scm.org/repo/hg/rev/6487737e0f00
changeset:   50344:6487737e0f00
branch:  stable
user:Pierre-Yves David 
date:Mon Mar 20 11:09:03 2023 +0100
summary: revlog: test that pending hooks properly see the repository on 
split

https://www.mercurial-scm.org/repo/hg/rev/cf6e1d535602
changeset:   50345:cf6e1d535602
branch:  stable
user:Pierre-Yves David 
date:Mon Mar 20 11:40:18 2023 +0100
summary: fncache: make it possible to ignore some file

https://www.mercurial-scm.org/repo/hg/rev/87f0155d68aa
changeset:   50346:87f0155d68aa
branch:  stable
tag: tip
user:Pierre-Yves David 
date:Mon Mar 20 11:52:17 2023 +0100
summary: revlog: improve the robustness of the splitting process

-- 
Repository URL: https://www.mercurial-scm.org/repo/hg
___
Mercurial-devel mailing list
Mercurial-devel@lists.mercurial-scm.org
https://lists.mercurial-scm.org/mailman/listinfo/mercurial-devel