log mercurial/posix.py @ 51893:22e1924e9402

age author description
Mon, 16 Sep 2024 15:36:44 +0200 Matt Harbison typing: add `from __future__ import annotations` to most files
Fri, 06 Sep 2024 02:12:19 +0200 Pierre-Yves David brancing: merge stable into default
Sat, 10 Aug 2024 14:18:44 -0400 Matt Harbison typing: fix the hint for the `mode` argument of `platform.copymode()`
Tue, 06 Aug 2024 18:23:59 +0200 Manuel Jacob typing: fix type annotation stable
Fri, 19 Jul 2024 16:38:53 -0400 Matt Harbison typing: avoid some useless @overload definitions in `mercurial.util`
Thu, 18 Jul 2024 19:57:42 -0400 Matt Harbison typing: add type hints to `mercurial.dirstatemap`
Wed, 10 Jul 2024 18:05:40 -0400 Matt Harbison typing: add a trivial type hint to `mercurial/posix.py` to avoid an @overload
Wed, 20 Dec 2023 12:51:20 +0100 Pierre-Yves David pytype: import typing directly
Thu, 03 Aug 2023 02:34:17 +0200 Jean-Francois Pieronne openvms: mark symlink as unsupported on OpenVMS
Fri, 01 Sep 2023 00:09:55 +0200 Pierre-Yves David pycompat: drop usage of hasattr/getattr/setattr/delatt proxy
Wed, 11 Jan 2023 19:53:58 +0000 Arseniy Alekseyev doc: add a few comments
Fri, 16 Dec 2022 22:24:05 -0500 Matt Harbison typing: attempt to remove @overloads in the platform module for stdlib methods
Fri, 16 Dec 2022 18:27:15 -0500 Matt Harbison typing: add type hints to the rest of the posix module
Fri, 16 Dec 2022 18:14:54 -0500 Matt Harbison typing: add type hints to the platform `cachestat` classes
Fri, 16 Dec 2022 00:54:39 -0500 Matt Harbison typing: add type hints to the common posix/windows platform functions
Thu, 15 Dec 2022 21:13:11 -0500 Matt Harbison typing: add type hints to the posix platform module matching win32.py
Thu, 15 Dec 2022 18:02:55 -0500 Matt Harbison typing: add type hints to mercurial/win32.py
Wed, 01 Jun 2022 00:47:25 +0200 Manuel Jacob py3: catch specific OSError subclasses instead of checking errno
Tue, 31 May 2022 23:38:51 +0200 Manuel Jacob py3: catch PermissionError instead of checking errno == EACCES
Tue, 31 May 2022 22:50:01 +0200 Manuel Jacob py3: catch FileNotFoundError instead of checking errno == ENOENT
Tue, 31 May 2022 21:16:17 +0200 Manuel Jacob py3: catch FileExistsError instead of checking errno == EEXIST
Tue, 31 May 2022 04:11:34 +0200 Manuel Jacob py3: remove retry on EINTR errno
Mon, 21 Feb 2022 13:08:28 -0700 Gregory Szorc py3: use class X: instead of class X(object):
Thu, 03 Mar 2022 08:04:33 -0800 Gregory Szorc posix: delete Python 2 posixfile()
Thu, 03 Mar 2022 17:34:00 +0100 Gregory Szorc py2: remove simple from __future__ statements
Sat, 10 Jul 2021 13:46:24 +0200 Pierre-Yves David windows: introduce a `util.abspath` to replace os.path.abspath
Wed, 12 May 2021 12:41:52 -0400 Matt Harbison util: avoid echoing the password to the console on Windows py3 (issue6446) stable
Thu, 25 Mar 2021 18:02:08 +0100 Raphaël Gomès contributor: change mentions of mpm to olivia
Thu, 11 Mar 2021 21:21:41 -0500 Matt Harbison typing: fix a suppression directive that was mangled by black formatting stable
Fri, 27 Nov 2020 17:03:29 -0500 Augie Fackler formating: upgrade to black 20.8b1
Tue, 13 Oct 2020 16:44:57 -0400 Matt Harbison posix: avoid a leaked file descriptor in a unix domain socket exception case
Tue, 13 Oct 2020 16:41:01 -0400 Matt Harbison posix: use context managers in a couple of places
Fri, 29 May 2020 03:56:07 +0200 Manuel Jacob cleanup: eliminate procutil.quotecommand()
Mon, 10 Feb 2020 17:31:05 -0500 Augie Fackler cleanup: re-run black on the codebase
Fri, 08 Nov 2019 11:19:20 -0800 Augie Fackler cleanup: remove pointless r-prefixes on single-quoted strings
Wed, 06 Nov 2019 15:03:02 -0500 Augie Fackler posix: add a pytype suppression
Sun, 06 Oct 2019 16:55:18 -0400 Gregory Szorc py3: manually import getattr 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
Mon, 08 Jul 2019 13:12:20 -0400 Augie Fackler posix: always seek to EOF when opening a file in append mode stable 5.0.2
Sat, 02 Mar 2019 05:01:00 +0530 Pulkit Goyal py3: make sure return value of posix.groupname() is bytes
Sun, 03 Feb 2019 16:38:47 +0530 Pulkit Goyal py3: do a fsdecode(), fsencode() dance in posix.py
Sat, 02 Feb 2019 04:49:42 +0530 Pulkit Goyal py3: pass str into grp.getgrnam
Thu, 10 Jan 2019 14:57:01 +0100 Boris Feld update: fix edge-case with update.atomic-file and read-only files
Thu, 15 Nov 2018 17:08:23 +0100 Boris Feld check-exec: write file in 'wcache' instead of 'cache'
Thu, 15 Nov 2018 03:09:23 +0100 Boris Feld checkexec: create destination directory if necessary stable
Tue, 25 Sep 2018 21:16:12 -0400 Matt Harbison py3: convert os.readlink() path to native strings on Windows
Sat, 09 Jun 2018 15:14:31 +0530 Pulkit Goyal py3: make sure util.username() always returns bytes
Sat, 26 May 2018 12:38:07 +0900 Yuya Nishihara py3: wrap tempfile.NamedTemporaryFile() to return bytes fp.name
Sat, 26 May 2018 12:14:04 +0900 Yuya Nishihara py3: wrap tempfile.mkstemp() to use bytes path
Fri, 27 Apr 2018 13:26:43 -0400 Augie Fackler posix: use inst.errno instead of inst[0] on OSError instances
Sat, 07 Apr 2018 21:14:16 +0900 Yuya Nishihara procutil: unify platform.explainexit()
Sat, 07 Apr 2018 21:09:21 +0900 Yuya Nishihara procutil: rewrite popen() as a subprocess.Popen wrapper (issue4746) (API)
Sat, 24 Mar 2018 13:30:50 +0900 Yuya Nishihara rcutil: directly call win32.executablepath()
Wed, 14 Mar 2018 15:39:28 -0400 Augie Fackler cleanup: fix some latent open(path).read() et al calls we previously missed
Mon, 05 Mar 2018 12:30:20 -0500 Augie Fackler cleanup: use stat_result[stat.ST_MTIME] instead of stat_result.st_mtime
Wed, 21 Feb 2018 22:20:27 +0900 Yuya Nishihara util: factor out shellsplit() function
Sun, 18 Feb 2018 18:22:40 +0530 Pulkit Goyal py3: make sure we open the files in bytes mode
Fri, 29 Dec 2017 22:54:14 -0500 Matt Harbison util: add a function to show the mount point of the filesystem
Sat, 30 Dec 2017 21:07:03 -0500 Matt Harbison util: move getfstype() to the platform modules
Thu, 12 Oct 2017 23:34:34 -0700 Jun Wu codemod: use pycompat.isdarwin
Sat, 30 Sep 2017 07:45:18 -0400 Augie Fackler posix: replace superfluous pass statement with explicit return
Fri, 15 Sep 2017 19:44:32 -0400 Augie Fackler posix: always pass a native str to unicodedata.normalize's first arg
Fri, 15 Sep 2017 19:44:05 -0400 Augie Fackler posix: use slicing to grab a single byte out of a bytes in HFS+ normcase code
Fri, 15 Sep 2017 19:43:02 -0400 Augie Fackler posix: fix HFS+ normcase doctest to produce valid bytes literals in Python 3
Sun, 03 Sep 2017 14:32:11 +0900 Yuya Nishihara doctest: bulk-replace string literals with b'' for Python 3
Fri, 04 Aug 2017 23:54:12 -0700 Jun Wu ssh: quote parameters using shellquote (SEC) stable
Fri, 04 Aug 2017 14:00:03 -0400 Augie Fackler ssh: ban any username@host or host that starts with - (SEC) stable
Fri, 04 Aug 2017 23:54:12 -0700 Jun Wu ssh: quote parameters using shellquote (SEC) stable
Fri, 04 Aug 2017 14:00:03 -0400 Augie Fackler ssh: ban any username@host or host that starts with - (SEC) stable
Wed, 26 Apr 2017 16:05:22 +0200 Koen Van Hoof chmod: create a new file when flags are set on a hardlinked file
Sun, 21 May 2017 18:36:28 -0400 Augie Fackler checklink: degrade gracefully on posix when fs is readonly (issue5511)
Fri, 10 Feb 2017 16:56:29 -0800 Martin von Zweigbergk cleanup: use set literals
Fri, 21 Apr 2017 00:53:38 +0530 Pulkit Goyal py3: make posix.getuser return a bytes
Tue, 21 Mar 2017 06:50:28 -0700 Ryan McElroy util: unify unlinkpath
Tue, 21 Mar 2017 06:50:28 -0700 Ryan McElroy posix: use local reference to removedirs
Tue, 21 Mar 2017 06:50:28 -0700 Ryan McElroy posix: use local reference to unlink
Sun, 19 Mar 2017 01:06:47 -0400 Augie Fackler posix: tiptoe around tempfile module more delicately
Sun, 19 Mar 2017 01:05:48 -0400 Augie Fackler posix: use open() instead of file()
Fri, 17 Mar 2017 05:10:58 +0530 Pulkit Goyal py3: make the regular expression bytes to prevent TypeError
Wed, 04 Jan 2017 14:52:59 -0500 Augie Fackler merge with stable
Thu, 22 Dec 2016 23:14:13 +0900 Yuya Nishihara posix: make poll() restart on interruption by signal (issue5452) stable
Mon, 19 Dec 2016 02:26:41 +0530 Pulkit Goyal py3: replace sys.platform with pycompat.sysplatform (part 2 of 2)
Mon, 19 Dec 2016 02:15:24 +0530 Pulkit Goyal py3: replace sys.platform with pycompat.sysplatform (part 1 of 2)
Sun, 18 Dec 2016 01:34:41 +0530 Pulkit Goyal py3: replace os.environ with encoding.environ (part 1 of 5)
Sat, 17 Dec 2016 20:02:50 +0530 Pulkit Goyal py3: replace os.sep with pycompat.ossep (part 2 of 4)
Sat, 17 Dec 2016 19:47:17 +0530 Pulkit Goyal py3: replace os.pathsep with pycompat.ospathsep
Wed, 30 Nov 2016 16:39:36 +0000 Martijn Pieters posix: give the cached symlink a real target
Wed, 14 Jan 2015 01:15:26 +0100 Mads Kiilerich posix: give checklink a fast path that cache the check file and is read only
Thu, 17 Nov 2016 12:59:36 +0100 Mads Kiilerich posix: move checklink test file to .hg/cache
Wed, 14 Jan 2015 01:15:26 +0100 Mads Kiilerich posix: give checkexec a fast path; keep the check files and test read only
Wed, 14 Jan 2015 01:15:26 +0100 Mads Kiilerich posix: simplify checkexec check
Thu, 17 Nov 2016 12:59:36 +0100 Mads Kiilerich posix: move checkexec test file to .hg/cache
Thu, 20 Oct 2016 21:38:44 +0900 Yuya Nishihara scmutil: move util.termwidth()
Sat, 21 May 2016 16:52:04 +0900 Yuya Nishihara chgserver: extract utility to bind unix domain socket to long path
Sat, 12 Dec 2015 21:36:21 -0600 Matt Mackall mac: fix percent-encoding of non-utf-8 characters (issue4999)
Sat, 21 Nov 2015 16:21:52 +0900 Yuya Nishihara posix: remove unixdomainserver class
Fri, 04 Dec 2015 15:59:46 -0500 Augie Fackler posix: work around "posix" systems without os.link available (issue4974)
Wed, 11 Nov 2015 15:08:08 -0600 Matt Mackall merge with stable
Mon, 09 Nov 2015 15:53:11 -0600 Matt Mackall posix: fix test-permissions regression stable 3.6.1
Mon, 09 Nov 2015 12:49:21 -0600 Matt Mackall merge with stable
Fri, 06 Nov 2015 15:23:10 -0600 Matt Mackall posix: retry on symlink race in checklink stable
Thu, 05 Nov 2015 17:09:00 -0600 Matt Mackall posix: use getutf8char to handle OS X filename percent-escaping
Fri, 04 Sep 2015 11:15:02 -0400 timeless posix: shellquote do not require quoting for "+" (issue4818)
Sat, 08 Aug 2015 19:56:58 -0700 Gregory Szorc posix: use absolute_import
Tue, 23 Jun 2015 22:20:08 -0700 Gregory Szorc global: mass rewrite to use modern exception syntax
Tue, 23 Jun 2015 22:30:33 -0700 Gregory Szorc global: mass rewrite to use modern octal syntax
Wed, 20 May 2015 18:00:05 -0500 Pierre-Yves David util: add a simple poll utility
Sat, 11 Apr 2015 00:47:09 +0900 FUJIWARA Katsunori util: add removedirs as platform depending function
Wed, 01 Apr 2015 00:29:22 -0700 Siddharth Agarwal cygwin: define normcase spec and fallback
Tue, 31 Mar 2015 23:30:19 -0700 Siddharth Agarwal darwin: define normcase spec and fallback
Wed, 01 Apr 2015 00:26:07 -0700 Siddharth Agarwal posix: define normcase spec and fallback
Wed, 11 Feb 2015 19:57:07 +0900 Yuya Nishihara shellquote: fix missing quotes for empty string stable
Thu, 25 Dec 2014 23:33:26 +0900 FUJIWARA Katsunori posix: quote the specified string only when it may have to be quoted
Tue, 16 Dec 2014 13:07:10 -0500 Augie Fackler darwin: omit ignorable codepoints when normcase()ing a file path stable
Wed, 15 Oct 2014 15:13:43 -0400 Augie Fackler checklink: always close the NamedTemporaryFile
Fri, 03 Oct 2014 18:47:28 -0700 Siddharth Agarwal normcase: for darwin, use fast ASCII lower
Sat, 16 Aug 2014 10:28:59 -0700 Gregory Szorc posix: implement readpipe using non-blocking I/O (issue4336)
Fri, 15 Aug 2014 20:02:18 -0700 Gregory Szorc platform: implement readpipe()