log mercurial/util.py @ 51974:fa7059f031a9

age author description
Fri, 04 Oct 2024 23:21:41 -0400 Matt Harbison interfaces: introduce and use a protocol class for the `base85` module
Tue, 01 Oct 2024 15:04:06 -0400 Matt Harbison util: minor copy editing of the documentation for `mmapread()`
Tue, 01 Oct 2024 15:00:39 -0400 Matt Harbison util: make `mmapread()` work on Windows again
Fri, 20 Sep 2024 01:10:17 -0400 Matt Harbison typing: add type annotations to `mercurial.util.makelock()`
Fri, 20 Sep 2024 00:20:24 -0400 Matt Harbison util: avoid a leaked file descriptor in `util.makelock()` exceptional case
Fri, 20 Sep 2024 00:04:09 -0400 Matt Harbison typing: add type annotations to the `mercurial.util.filestat` class
Sun, 22 Sep 2024 17:18:05 -0400 Matt Harbison util: add a comment to suppress a PyCharm warning about a PEP 8 violation
Mon, 16 Sep 2024 15:36:44 +0200 Matt Harbison typing: add `from __future__ import annotations` to most files
Tue, 26 Mar 2024 15:51:31 +0000 Raphaël Gomès util: make buffer readonly
Sat, 10 Aug 2024 14:22:26 -0400 Matt Harbison typing: add hints to `mercurial.util.mktempcopy()`
Tue, 09 Jul 2024 20:08:48 +0200 Pierre-Yves David mmap: populate mapping in a background thread
Wed, 24 Jul 2024 18:17:00 -0400 Matt Harbison typing: narrow the scope of some recent disabled import warnings
Tue, 23 Jul 2024 19:20:22 -0400 Matt Harbison typing: induce pytype to use the standard `attr` instead of the vendored copy
Fri, 19 Jul 2024 16:49:46 -0400 Matt Harbison typing: explicitly type some `mercurial.util` eol code to avoid @overload
Thu, 18 Jul 2024 12:36:12 +0200 Raphaël Gomès black: format the codebase with 23.3.0
Thu, 18 Jul 2024 12:03:29 +0200 Raphaël Gomès pytype: work around wrong ImportError flagging
Tue, 23 Jul 2024 10:02:46 +0200 Raphaël Gomès Backout accidental publication of a large range of revisions
Thu, 18 Jul 2024 12:36:12 +0200 Raphaël Gomès black: format the codebase with 23.3.0
Thu, 18 Jul 2024 12:03:29 +0200 Raphaël Gomès pytype: work around wrong ImportError flagging
Mon, 08 Jul 2024 15:48:34 +0200 Pierre-Yves David revlog: use mmap by default is pre-population is available
Thu, 11 Apr 2024 00:02:07 +0200 Pierre-Yves David mmap: populate the mapping by default
Wed, 03 Jul 2024 12:22:48 +0200 Pierre-Yves David mmap: add a `is_mmap_safe` method to vfs stable
Mon, 06 May 2024 18:50:21 +0200 Raphaël Gomès branching: merge stable into default
Tue, 26 Mar 2024 13:28:52 +0000 Pierre-Yves David nocg: make the utility work are both a decorator and context manager
Thu, 02 May 2024 02:20:42 +0200 Pierre-Yves David re2: make errors quiet stable
Wed, 17 Jan 2024 14:26:58 +0100 Georges Racinet vfs: have tryunlink tell what it did
Thu, 21 Dec 2023 00:19:19 +0100 Pierre-Yves David pytype: add the couple annotations for pytype to understands the lrunode
Tue, 19 Dec 2023 21:34:47 +0100 Pierre-Yves David pytype: ignore attribute error for time.clock
Tue, 19 Dec 2023 21:29:34 +0100 Pierre-Yves David pytype: move some type comment to proper annotation
Wed, 20 Dec 2023 12:51:20 +0100 Pierre-Yves David pytype: import typing directly
Fri, 01 Sep 2023 00:09:55 +0200 Pierre-Yves David pycompat: drop usage of hasattr/getattr/setattr/delatt proxy
Thu, 31 Aug 2023 23:56:15 +0200 Pierre-Yves David safehasattr: drop usage in favor of hasattr
Tue, 27 Jun 2023 10:09:11 +0200 Mads Kiilerich tests: fix sortdict doctest with Python 3.12 stable
Sat, 17 Jun 2023 04:05:53 +0200 Pierre-Yves David re2: fix reporting of availability in `hg debuginstall` stable
Sat, 17 Jun 2023 04:05:18 +0200 Pierre-Yves David re: make _checkre2 a static method stable
Sat, 17 Jun 2023 04:02:25 +0200 Pierre-Yves David re2: exit `_checkre2` early if calling it is useless stable
Thu, 05 Jan 2023 19:42:45 -0500 Matt Harbison typing: adjust `mercurial.util.iterlines()` to accept any `Iterable`
Fri, 16 Dec 2022 14:24:02 -0500 Matt Harbison util: fix the signature of observedbufferedinputpipe._fillbuffer()
Fri, 16 Dec 2022 14:15:09 -0500 Matt Harbison tests: drop some obsolete py2 handling in util.py doctest
Fri, 04 Nov 2022 17:35:44 -0400 Matt Harbison util: implement `writelines()` on atomictempfile
Tue, 31 May 2022 23:41:15 +0200 Manuel Jacob py3: catch PermissionError instead of checking errno == EPERM
Tue, 31 May 2022 22:50:01 +0200 Manuel Jacob py3: catch FileNotFoundError instead of checking errno == ENOENT
Thu, 02 Jun 2022 23:57:56 +0200 Manuel Jacob chg: replace mercurial.util.recvfds() by simpler pure Python implementation
Tue, 10 May 2022 20:30:26 +0100 Arseniy Alekseyev clone: use better names for temp files
Tue, 29 Mar 2022 23:31:37 -0400 Matt Harbison util: drop a duplicate import
Tue, 29 Mar 2022 22:22:36 -0400 Matt Harbison util: restore the util.pickle symbol
Mon, 21 Feb 2022 13:08:28 -0700 Gregory Szorc py3: use class X: instead of class X(object):
Thu, 03 Mar 2022 07:56:47 -0800 Gregory Szorc util: remove iterfile() variant for buggy EINTR handling
Thu, 03 Mar 2022 18:28:30 -0800 Gregory Szorc global: bulk replace simple pycompat.iteritems(x) with x.items()
Mon, 21 Feb 2022 10:35:42 -0700 Gregory Szorc util: remove superfluous ispy3 test
Thu, 03 Mar 2022 17:34:00 +0100 Gregory Szorc py2: remove simple from __future__ statements
Sun, 20 Feb 2022 15:03:26 -0700 Gregory Szorc py3: use io.BytesIO directly
Tue, 01 Mar 2022 20:29:03 -0800 Gregory Szorc py3: use pickle directly
Thu, 23 Dec 2021 14:47:52 +0100 Raphaël Gomès urls: remove deprecated APIs
Mon, 20 Sep 2021 11:05:30 -0400 Matt Harbison util: eliminate the possibility of returning None from `versiontuple()`
Mon, 20 Sep 2021 10:46:35 -0400 Matt Harbison util: avoid a name-error warning in the `mmapread` exception handler
Sat, 10 Jul 2021 13:46:24 +0200 Pierre-Yves David windows: introduce a `util.abspath` to replace os.path.abspath
Wed, 09 Jun 2021 15:33:58 +0200 Pierre-Yves David copyfiles: add a way to relax the file system checking for hardlink
Tue, 08 Jun 2021 02:31:17 +0200 Pierre-Yves David copyfile: add a option callback for failed hardlinking
Mon, 07 Jun 2021 21:09:31 +0200 Pierre-Yves David copyfiles: deal with existing file when hardlinking