https://bz.mercurial-scm.org/show_bug.cgi?id=6520

            Bug ID: 6520
           Summary: threading.currentThread has been deprecated in favour
                    of threading.current_thread in Python 3.10
           Product: Mercurial
           Version: default branch
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzi...@mercurial-scm.org
          Reporter: tir.kar...@gmail.com
                CC: mercurial-devel@mercurial-scm.org
    Python Version: ---

This is causing issues while running tests since deprecation warnings are also
recorded. I would like to contribute a patch for this.

--- /root/hg-committed/tests/test-shelve3.t
+++ /root/hg-committed/tests/test-shelve3.t.err
@@ -11,10 +11,27 @@
   $ hg commit -Aqm b
   $ echo test > sample.txt
   $ hg shelve -n test
+  /root/hg-committed/mercurial/vfs.py:310: DeprecationWarning: currentThread()
is deprecated, use current_thread() instead
+    threading.currentThread(),
+  /root/hg-committed/mercurial/vfs.py:486: DeprecationWarning: currentThread()
is deprecated, use current_thread() instead
+    threading.currentThread(),

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to