log mercurial/util.py @ 51679:be6d8ea6d3d2

age author description
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
Thu, 02 May 2024 02:20:42 +0200 Pierre-Yves David re2: make errors quiet stable
Tue, 26 Mar 2024 13:28:52 +0000 Pierre-Yves David nocg: make the utility work are both a decorator and context manager
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
Sun, 30 May 2021 18:08:52 +0200 Pierre-Yves David util: add `nb_bytes` argument to `copyfile` to partially copy a file
Mon, 17 May 2021 15:05:24 +0200 Raphaël Gomès branching: merge stable into default
Fri, 07 May 2021 22:06:25 -0400 Matt Harbison merge with stable
Wed, 12 May 2021 12:41:52 -0400 Matt Harbison util: avoid echoing the password to the console on Windows py3 (issue6446) stable
Fri, 30 Apr 2021 16:13:02 -0700 Kyle Lippincott black: make codebase compatible with black v21.4b2 and v20.8b1 stable
Mon, 29 Mar 2021 01:52:06 +0200 Joerg Sonnenberger node: replace nullid and friends with nodeconstants class
Mon, 12 Apr 2021 23:31:54 -0400 Matt Harbison re2: adjust local variable assignment scope
Mon, 12 Apr 2021 03:01:04 +0200 Pierre-Yves David urlutil: extract `url` related code from `util` into the new module
Mon, 12 Apr 2021 22:42:47 -0400 Matt Harbison merge with stable
Thu, 25 Mar 2021 22:29:41 -0400 Matt Harbison typing: make minor adjustments to mercurial/util.py to pass pytype checking
Thu, 25 Mar 2021 20:22:00 -0400 Matt Harbison util: fix the signature for the pypy override of sortdict.update()
Tue, 23 Mar 2021 23:55:33 +0100 Pierre-Yves David path: forbid chaining `path://` definitions
Thu, 25 Mar 2021 18:02:08 +0100 Raphaël Gomès contributor: change mentions of mpm to olivia
Fri, 26 Mar 2021 18:37:25 +0100 Pierre-Yves David re2: feed unicode string to re2 module when necessary stable
Fri, 12 Mar 2021 13:13:13 -0500 Augie Fackler merge: with stable
Sat, 06 Mar 2021 23:41:32 -0500 Matt Harbison typing: add some type annotations to mercurial/util.py
Wed, 24 Feb 2021 15:16:22 +0100 Pierre-Yves David re2: byteify some regex used to get check re2 availability stable
Tue, 01 Dec 2020 21:54:46 +0100 Joerg Sonnenberger node: import symbols explicitly
Fri, 27 Nov 2020 17:03:29 -0500 Augie Fackler formating: upgrade to black 20.8b1
Thu, 16 Jul 2020 23:49:04 +0200 Manuel Jacob util: enhance `nullcontextmanager` to be able to return __enter__ result
Tue, 09 Jun 2020 11:22:31 +0200 Joerg Sonnenberger util: provide a helper function to estimate RAM size
Mon, 29 Jun 2020 20:53:32 +0900 Yuya Nishihara merge with stable
Sun, 28 Jun 2020 18:02:45 +0200 Manuel Jacob curses: do not initialize LC_ALL to user settings (issue6358) stable
Fri, 19 Jun 2020 20:42:14 +0530 Pulkit Goyal util: flush stderr explicitly after using warnings.warn()
Fri, 29 May 2020 04:06:16 +0200 Manuel Jacob cleanup: remove compatibility code for Python < 2.7.4
Tue, 31 Mar 2020 15:11:33 +0530 Pulkit Goyal chgserver: update the umask cache before each run
Fri, 06 Mar 2020 13:27:41 -0500 Augie Fackler cleanup: run pyupgrade on our source tree to clean up varying things
Wed, 04 Mar 2020 00:45:54 -0500 Matt Harbison phabricator: avoid a stacktrace when command arguments are missing
Mon, 13 Jan 2020 17:15:14 -0500 Augie Fackler core: migrate uses of hashlib.sha1 to hashutil.sha1
Tue, 07 Jan 2020 12:09:36 +0100 Pierre-Yves David mmap: add a size argument to mmapread
Sat, 28 Dec 2019 01:35:05 -0500 Matt Harbison cleanup: drop redundant character escapes from `[]` character sets
Tue, 31 Dec 2019 16:24:38 -0500 Matt Harbison util: avoid referencing `time.clock()` on Windows when missing (issue6238)
Sun, 15 Dec 2019 21:34:00 -0500 Matt Harbison util: move common proxyobserver attributes to the base class
Mon, 16 Dec 2019 15:58:47 -0800 Martin von Zweigbergk util: implement sortdict.insert()
Sun, 15 Dec 2019 21:43:18 -0500 Matt Harbison typing: suppress a warning that mercurial.windows.checkosfilename is missing
Sun, 15 Dec 2019 21:36:06 -0500 Matt Harbison typing: add an assertion to util.versiontuple
Sun, 15 Dec 2019 21:28:30 -0500 Matt Harbison typing: add a couple of assertions to lrucachedict to help pytype
Sun, 15 Dec 2019 21:26:21 -0500 Matt Harbison util: rename a variable to avoid confusing pytype
Sun, 15 Dec 2019 21:22:27 -0500 Matt Harbison pytype: suppress the import-error in util.py when importing re2
Sun, 17 Nov 2019 06:26:41 +0100 Pierre-Yves David util: add an optional `prefix` argument to debugstacktrace
Fri, 22 Nov 2019 21:42:04 +0900 Yuya Nishihara merge with stable
Thu, 21 Nov 2019 17:25:24 -0500 Matt Harbison util: convert an exception to bytes when passing to Abort() stable
Thu, 14 Nov 2019 13:18:22 -0800 Martin von Zweigbergk util: remove datapath and swith users over to resourceutil
Thu, 14 Nov 2019 12:41:33 -0800 Martin von Zweigbergk i18n: get datapath directly from resourceutil
Thu, 14 Nov 2019 12:33:10 -0800 Martin von Zweigbergk util: move definition of datapath to resourceutil
Thu, 14 Nov 2019 11:52:22 -0800 Martin von Zweigbergk procutil: move mainfrozen() to new resourceutil.py
Thu, 14 Nov 2019 14:14:11 -0800 Martin von Zweigbergk py3: use native string for 'macosx_app'
Thu, 14 Nov 2019 08:03:26 -0800 Martin von Zweigbergk utils: move finddirs() to pathutil
Wed, 06 Nov 2019 14:13:19 +0100 Pierre-Yves David utils: move the `dirs` definition in pathutil (API)
Fri, 08 Nov 2019 11:19:20 -0800 Augie Fackler cleanup: remove pointless r-prefixes on single-quoted strings
Thu, 17 Oct 2019 19:29:22 -0400 Augie Fackler dirs: reject consecutive slashes in paths
Wed, 06 Nov 2019 17:46:26 -0500 Augie Fackler pytype: don't warn us about ignored-on-py3 metaclasses
Tue, 08 Oct 2019 15:06:18 -0700 Martin von Zweigbergk cleanup: join string literals that are already on one line
Mon, 07 Oct 2019 00:04:04 -0400 Gregory Szorc py3: finish porting iteritems() to pycompat and remove source transformer
Sun, 06 Oct 2019 17:45:05 -0400 Gregory Szorc py3: stop normalizing 2nd argument of *attr() to unicode
Sun, 06 Oct 2019 16:58:55 -0400 Gregory Szorc py3: manually import pycompat.delattr where it is needed
Sun, 06 Oct 2019 16:55:18 -0400 Gregory Szorc py3: manually import getattr where it is needed
Sun, 06 Oct 2019 14:58:42 -0400 Gregory Szorc py3: manually import pycompat.setattr where it is needed
Sun, 06 Oct 2019 13:28:56 -0400 Gregory Szorc py3: manually import pycompat.open into files that need it
Sun, 06 Oct 2019 09:48:39 -0400 Augie Fackler formatting: byteify all mercurial/ and hgext/ string literals
Sun, 06 Oct 2019 09:45:02 -0400 Augie Fackler formatting: blacken the codebase
Sat, 17 Aug 2019 10:25:04 +0900 Yuya Nishihara py3: do not convert rust module/attribute names to bytes
Sun, 21 Jul 2019 18:04:05 -0700 Martin von Zweigbergk py: error out if a "skip" character was given with non-dict to util.dirs() stable
Wed, 05 Jun 2019 17:58:34 +0200 Raphaël Gomès rust-dirstate: call new "dirs" rust implementation from Python
Tue, 16 May 2017 11:00:38 -0700 Martin von Zweigbergk util: make util.dirs() and util.finddirs() include root directory (API)
Wed, 27 Mar 2019 16:45:14 +0100 Pierre-Yves David util: extract compression code in `mercurial.utils.compression`
Sat, 02 Mar 2019 12:57:00 -0800 Gregory Szorc global: use raw strings for namedtuple()
Sat, 02 Mar 2019 12:51:04 -0800 Gregory Szorc global: use raw strings for __slots__
Fri, 25 Jan 2019 16:00:34 -0800 Gregory Szorc util: cast memoryview to bytes
Thu, 10 Jan 2019 14:57:01 +0100 Boris Feld update: fix edge-case with update.atomic-file and read-only files
Sun, 04 Nov 2018 16:57:05 +0900 Yuya Nishihara util: implement pop() on lrucachedict
Wed, 31 Oct 2018 22:29:05 +0900 Yuya Nishihara util: add method to peek item in lrucachedict
Thu, 22 Nov 2018 22:40:22 +0900 Yuya Nishihara py3: cast attribute name to sysstr in clearcachedproperty()
Sat, 13 Oct 2018 14:17:25 +0200 Yuya Nishihara py3: build help of compression engines in bytes
Wed, 03 Oct 2018 10:27:44 -0700 Martin von Zweigbergk cleanup: some Yoda conditions, this patch removes
Fri, 28 Sep 2018 22:18:45 -0400 Matt Harbison util: use a context manager in readlock()
Tue, 25 Sep 2018 21:16:12 -0400 Matt Harbison py3: convert os.readlink() path to native strings on Windows
Tue, 18 Sep 2018 16:47:09 -0700 Gregory Szorc global: replace most uses of RevlogError with StorageError (API)
Fri, 07 Sep 2018 10:18:20 -0700 Gregory Szorc util: update lrucachedict order during get()
Thu, 06 Sep 2018 18:04:27 -0700 Gregory Szorc util: lower water mark when removing nodes after cost limit reached
Thu, 06 Sep 2018 12:40:30 -0700 Gregory Szorc util: optimize cost auditing on insert