log mercurial/windows.py @ 51285:9d3721552b6c

age author description
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
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 22:07:02 -0500 Matt Harbison typing: add trivial type hints to rest of the windows platform 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
Tue, 13 Dec 2022 16:48:47 -0500 Matt Harbison windows: drop an unused method
Fri, 25 Nov 2022 18:39:47 -0500 Matt Harbison pytype: stop excluding mercurial/ui.py
Mon, 10 Oct 2022 11:28:19 -0400 Matt Harbison windows: gracefully handle when the username cannot be determined stable
Mon, 13 Jun 2022 11:20:57 -0400 Matt Harbison typing: add a missing suppression directive for `msvcrt`
Mon, 13 Jun 2022 11:18:41 -0400 Matt Harbison windows: drop some py2 compatibility code
Mon, 13 Jun 2022 11:06:33 -0400 Matt Harbison windows: prevent bytes from being passed to registry APIs
Wed, 01 Jun 2022 02:21:41 +0200 Manuel Jacob py3: catch specific OSError subclasses instead of checking errno
Tue, 31 May 2022 21:16:17 +0200 Manuel Jacob py3: catch FileExistsError instead of checking errno == EEXIST
Wed, 23 Mar 2022 13:51:40 -0400 Matt Harbison pytype: disable a few errors about Windows specific module attributes
Mon, 21 Feb 2022 13:08:28 -0700 Gregory Szorc py3: use class X: instead of class X(object):
Mon, 21 Feb 2022 10:38:27 -0700 Gregory Szorc windows: remove write throttling support
Mon, 21 Feb 2022 10:36:44 -0700 Gregory Szorc windows: remove conditional for Python 3
Thu, 03 Mar 2022 17:34:00 +0100 Gregory Szorc py2: remove simple from __future__ statements
Mon, 20 Sep 2021 10:45:18 -0400 Matt Harbison typing: suppress an name-error warning in `mercurial/windows.py`
Sun, 22 Aug 2021 17:59:21 -0400 Matt Harbison windows: degrade to py2 behavior when reading a non-symlink as a symlink stable
Mon, 02 Aug 2021 10:51:19 -0400 Matt Harbison windows: avoid a bytes vs unicode crash reading passwords on py2 stable
Sat, 10 Jul 2021 13:46:24 +0200 Pierre-Yves David windows: introduce a `util.abspath` to replace os.path.abspath
Fri, 11 Jun 2021 23:39:31 -0400 Matt Harbison typing: disable warnings for a couple of Windows specific attributes
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
Fri, 27 Nov 2020 17:03:29 -0500 Augie Fackler formating: upgrade to black 20.8b1
Sat, 18 Jul 2020 12:35:55 +0200 Manuel Jacob windows: don’t set `softspace` attribute in `winstdout`
Fri, 17 Jul 2020 14:58:22 +0200 Manuel Jacob windows: handle file-like objects without isatty() method
Fri, 17 Jul 2020 03:28:52 +0200 Manuel Jacob windows: always work around EINVAL in case of broken pipe for stdout / stderr
Fri, 17 Jul 2020 03:12:29 +0200 Manuel Jacob windows: augment docstring of `winstdout` class
Fri, 29 May 2020 03:56:07 +0200 Manuel Jacob cleanup: eliminate procutil.quotecommand()
Fri, 29 May 2020 03:43:08 +0200 Manuel Jacob cleanup: remove compatibility code for Python < 2.7.1
Fri, 06 Mar 2020 13:27:41 -0500 Augie Fackler cleanup: run pyupgrade on our source tree to clean up varying things
Tue, 17 Dec 2019 21:12:17 -0500 Matt Harbison windows: drop detection of Windows 95/98/ME
Mon, 16 Dec 2019 17:10:51 -0500 Augie Fackler windows: if username(uid=None) is loaded, just use getpass
Sun, 01 Dec 2019 18:46:10 -0500 Matt Harbison cleanup: fix docstring formatting
Fri, 22 Nov 2019 23:55:57 -0500 Matt Harbison windows: suppress pytype warnings for Windows imports and functions
Fri, 08 Nov 2019 11:19:20 -0800 Augie Fackler cleanup: remove pointless r-prefixes on single-quoted strings
Sun, 06 Oct 2019 16:55:18 -0400 Gregory Szorc py3: manually import getattr where it is needed
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
Thu, 10 Jan 2019 14:57:01 +0100 Boris Feld update: fix edge-case with update.atomic-file and read-only files
Sat, 15 Dec 2018 13:41:34 -0500 Matt Harbison windows: ensure mixedfilemodewrapper fd doesn't escape by entering context mgr stable
Sat, 15 Dec 2018 01:26:18 -0500 Matt Harbison py3: ensure the proxied Windows fd doesn't escape by entering context manager stable
Fri, 12 Oct 2018 17:34:45 -0400 Matt Harbison py3: use str to query registry values on Windows
Sat, 29 Sep 2018 20:57:49 -0400 Matt Harbison py3: byteify windows.shelltocmdexe()
Tue, 25 Sep 2018 21:16:12 -0400 Matt Harbison py3: convert os.readlink() path to native strings on Windows
Wed, 26 Sep 2018 21:25:18 -0400 Matt Harbison py3: ensure standard exceptions use `str` type strings in windows.py
Fri, 21 Sep 2018 20:03:07 -0400 Matt Harbison py3: proxy posixfile objects to re-add a useful 'name' attribute on Windows
Wed, 19 Sep 2018 23:54:16 -0400 Matt Harbison py3: resolve Unicode issues around `hg serve` on Windows
Thu, 13 Sep 2018 22:07:00 -0400 Matt Harbison py3: fix str vs bytes in enough places to run `hg version` on Windows
Thu, 13 Sep 2018 20:54:53 -0400 Matt Harbison windows: open registry keys using unicode names
Mon, 16 Jul 2018 00:32:33 -0400 Matt Harbison windows: expand '~/' and '~\' to %USERPROFILE% when translating to cmd.exe
Sun, 15 Jul 2018 23:58:39 -0400 Matt Harbison windows: replace single quote with double quote when translating to cmd.exe
Sat, 07 Jul 2018 22:13:56 -0400 Matt Harbison windows: don't consider '$$' to be an escaped '$' when translating to cmd.exe
Mon, 09 Jul 2018 09:50:23 -0400 Augie Fackler merge with stable
Wed, 04 Jul 2018 14:19:13 +0200 Sune Foldager windows: fix incorrect detection of broken pipe when writing to pager stable
Sun, 24 Jun 2018 01:13:09 -0400 Matt Harbison windows: add a method to convert Unix style command lines to Windows style
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()
Tue, 27 Feb 2018 14:42:30 +0530 Pulkit Goyal py3: convert os.devnull to bytes using pycompat.bytestr
Wed, 21 Feb 2018 22:20:27 +0900 Yuya Nishihara util: factor out shellsplit() function
Fri, 29 Dec 2017 22:54:14 -0500 Matt Harbison util: add a function to show the mount point of the filesystem
Fri, 29 Dec 2017 21:28:19 -0500 Matt Harbison win32: implement util.getfstype()
Sat, 30 Dec 2017 21:07:03 -0500 Matt Harbison util: move getfstype() to the platform modules
Sun, 03 Sep 2017 14:32:11 +0900 Yuya Nishihara doctest: bulk-replace string literals with b'' for Python 3
Tue, 22 Aug 2017 20:03:07 -0400 Augie Fackler python3: wrap all uses of <exception>.strerror with strtolocal
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
Mon, 05 Jun 2017 23:36:35 +0900 Yuya Nishihara windows: do not close stdout on flush() failure
Fri, 12 Aug 2016 11:35:17 +0900 Yuya Nishihara osutil: switch to policy importer
Fri, 10 Feb 2017 16:56:29 -0800 Martin von Zweigbergk cleanup: use set literals
Wed, 26 Apr 2017 22:26:28 +0900 Yuya Nishihara osutil: proxy through util (and platform) modules (API)
Tue, 11 Apr 2017 21:38:11 -0400 Matt Harbison windows: add context manager support to mixedfilemodewrapper
Sun, 26 Mar 2017 16:33:12 +0900 Yuya Nishihara py3: abuse r'' to preserve str-ness of literals passed to __setattr__()
Tue, 21 Mar 2017 06:50:28 -0700 Ryan McElroy util: unify unlinkpath
Mon, 13 Mar 2017 09:11:08 -0700 Yuya Nishihara encoding: factor out unicode variants of from/tolocal()
Sun, 18 Dec 2016 01:54:36 +0530 Pulkit Goyal py3: replace os.environ with encoding.environ (part 3 of 5)
Sat, 17 Dec 2016 20:14:24 +0530 Pulkit Goyal py3: replace os.sep with pycompat.ossep (part 3 of 4)
Sat, 17 Dec 2016 19:47:17 +0530 Pulkit Goyal py3: replace os.pathsep with pycompat.ospathsep
Fri, 21 Oct 2016 00:03:46 +0900 Yuya Nishihara windows: do not replace sys.stdout by winstdout
Thu, 20 Oct 2016 23:27:09 +0900 Yuya Nishihara windows: do not replace sys.__stdout__
Thu, 20 Oct 2016 21:38:44 +0900 Yuya Nishihara scmutil: move util.termwidth()
Wed, 10 Aug 2016 04:35:44 +0530 Pulkit Goyal py3: conditionalize _winreg import
Sat, 21 May 2016 16:52:04 +0900 Yuya Nishihara chgserver: extract utility to bind unix domain socket to long path
Wed, 16 Dec 2015 13:33:43 -0500 Matt Harbison windows: correct the import of win32
Sat, 12 Dec 2015 23:19:38 -0800 Gregory Szorc windows: use absolute_import
Sun, 27 Sep 2015 18:46:53 -0700 Gregory Szorc windows: insert file positioning call between reads and writes
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
Sat, 06 Jun 2015 14:03:55 +0200 Adrian Buehlmann windows: use os.SEEK_END
Wed, 20 May 2015 18:00:05 -0500 Pierre-Yves David util: add a simple poll utility
Mon, 18 May 2015 16:33:57 -0500 Pierre-Yves David windows: drop Python2.4 specific hack for directory not found handling
Thu, 14 May 2015 11:37:36 +0200 Adrian Buehlmann windows: add comment in normcase()
Fri, 01 May 2015 20:17:00 -0400 Matt Harbison windows: add doctest for shellquote()
Wed, 29 Apr 2015 21:14:59 -0400 Matt Harbison windows: make shellquote() quote any path containing '\' (issue4629) stable
Sat, 11 Apr 2015 00:47:09 +0900 FUJIWARA Katsunori util: add removedirs as platform depending function
Tue, 07 Apr 2015 22:31:36 -0400 Matt Harbison windows: allow readpipe() to actually read data out of the pipe
Wed, 01 Apr 2015 00:31:41 -0700 Siddharth Agarwal windows: define normcase spec and fallback
Fri, 27 Feb 2015 17:46:03 -0600 Matt Mackall merge with stable
Wed, 11 Feb 2015 19:57:07 +0900 Yuya Nishihara shellquote: fix missing quotes for empty string stable
Fri, 06 Feb 2015 23:40:46 +0100 Adrian Buehlmann windows: adjust doc string and comments of posixfile()
Sat, 31 Jan 2015 12:39:44 -0500 Matt Harbison windows: seek to the end of posixfile when opening in append mode
Thu, 25 Dec 2014 23:33:26 +0900 FUJIWARA Katsunori windows: quote the specified string only when it has to be quoted
Fri, 15 Aug 2014 20:02:18 -0700 Gregory Szorc platform: implement readpipe()
Sun, 29 Dec 2013 13:54:04 +0000 Christian Ebert util: remove unused realpath (issue4063)
Wed, 03 Apr 2013 11:35:27 -0700 Bryan O'Sullivan util: add functions to check symlink/exec bits
Fri, 28 Dec 2012 11:55:57 +0100 Mads Kiilerich util: fold ENOENT check into unlinkpath, controlled by new ignoremissing flag
Thu, 06 Dec 2012 16:56:44 -0600 Matt Mackall windows: correctly pass a mode to S_IFMT in statfiles
Fri, 30 Nov 2012 15:55:07 -0800 Bryan O'Sullivan dirstate: move file type filtering to its source
Fri, 14 Sep 2012 12:08:17 -0700 Bryan O'Sullivan util: implement a faster os.path.split for posix systems
Tue, 11 Sep 2012 08:36:09 -0700 Bryan O'Sullivan Merge spelling fixes
Fri, 17 Aug 2012 13:58:18 -0700 timeless spelling: precede
Wed, 15 Aug 2012 22:38:42 +0200 Mads Kiilerich fix trivial spelling errors
Sat, 04 Aug 2012 07:14:40 +0200 Ross Lagerwall util: replace util.nulldev with os.devnull stable
Thu, 19 Jul 2012 00:54:33 +0200 Martin Geisler merge with stable
Thu, 19 Jul 2012 00:53:27 +0200 Martin Geisler windows: removed duplicate termwidth definition stable
Wed, 18 Jul 2012 14:41:58 +0200 Adrian Buehlmann util, posix: eliminate encodinglower and encodingupper
Sun, 27 May 2012 11:29:52 +0200 Adrian Buehlmann win32: move lookupreg() to windows.py
Sat, 12 May 2012 16:00:58 +0200 Brodie Rao cleanup: "raise SomeException()" -> "raise SomeException"
Sun, 05 Feb 2012 22:58:31 +0900 FUJIWARA Katsunori windows: use 'str.replace()' instead of combination of split() and join()
Fri, 16 Dec 2011 19:05:59 -0600 Matt Mackall merge with stable
Fri, 16 Dec 2011 21:09:41 +0900 FUJIWARA Katsunori i18n: use encoding.lower/upper for encoding aware case folding stable
Fri, 16 Dec 2011 21:09:40 +0900 FUJIWARA Katsunori windows: use upper() instead of lower() or os.path.normcase() stable
Thu, 15 Dec 2011 14:37:36 -0600 Matt Mackall merge with stable
Mon, 12 Dec 2011 17:10:19 +0900 FUJIWARA Katsunori icasefs: use util.normcase() instead of str.lower() or os.path.normpath() stable
Tue, 15 Nov 2011 14:33:06 -0600 Matt Mackall merge with stable
Tue, 15 Nov 2011 14:25:11 -0600 Matt Mackall dirstate: fix case-folding identity for traditional Unix stable
Mon, 07 Nov 2011 03:14:54 +0100 Mads Kiilerich windows: use umask 022 in debugstate output
Wed, 03 Aug 2011 16:41:14 -0500 Matt Mackall windows: fix pyflakes warning on unused imports
Tue, 02 Aug 2011 13:18:56 +0200 Adrian Buehlmann util: move copymode into posix.py and windows.py
Fri, 29 Jul 2011 00:39:27 +0200 Adrian Buehlmann windows: eliminate win32 wildcard import
Mon, 25 Jul 2011 16:04:44 -0500 Augie Fackler windows: use getattr instead of hasattr
Mon, 25 Jul 2011 15:03:02 +0300 Idan Kamara posix, windows: introduce cachestat
Sat, 23 Jul 2011 12:29:52 +0200 Adrian Buehlmann util: eliminate wildcard imports
Sat, 16 Jul 2011 15:24:28 +0300 Idan Kamara win32: assign winstdout to sys.__stdout__ as well (issue2888) stable
Sun, 08 May 2011 20:35:46 +0200 Adrian Buehlmann rename util.find_exe to findexe
Fri, 06 May 2011 15:31:09 +0200 Adrian Buehlmann rename explain_exit to explainexit
Fri, 06 May 2011 15:25:35 +0200 Adrian Buehlmann rename util.set_binary to setbinary
Fri, 06 May 2011 15:22:31 +0200 Adrian Buehlmann rename util.set_flags to setflags
Fri, 06 May 2011 15:19:48 +0200 Adrian Buehlmann rename util.parse_patch_output to parsepatchoutput
Sat, 30 Apr 2011 13:59:14 +0200 Alexander Solovyov remove unused imports and variables
Sat, 23 Apr 2011 00:51:25 +0300 Idan Kamara eliminate various naked except clauses
Thu, 21 Apr 2011 21:16:54 +0200 Adrian Buehlmann move system_rcpath and user_rcpath to scmutil
Tue, 05 Apr 2011 11:55:52 +0200 Adrian Buehlmann util: move checklink() to posix.py and return False on Windows
Mon, 04 Apr 2011 11:41:54 +0200 Adrian Buehlmann util: move checkexec() to posix.py and return False on Windows
Sun, 27 Mar 2011 12:22:07 +0200 Adrian Buehlmann windows: use win32.unlink in unlinkpath()
Sun, 27 Mar 2011 01:17:48 +0100 Adrian Buehlmann windows: move unlink to win32.py
Mon, 14 Feb 2011 11:13:05 +0100 Adrian Buehlmann eliminate win32.user_rcpath_win32()
Mon, 14 Feb 2011 11:12:57 +0100 Adrian Buehlmann windows: eliminate system_rcpath_win32()
Mon, 14 Feb 2011 11:12:35 +0100 Adrian Buehlmann win32: move system_rcpath_win32() to windows.py
Mon, 14 Feb 2011 11:12:26 +0100 Adrian Buehlmann port win32.py to using the Python ctypes library
Tue, 11 Jan 2011 14:10:16 +0100 Adrian Buehlmann reintroduces util.unlink, for POSIX and Windows.
Tue, 11 Jan 2011 14:10:16 +0100 Adrian Buehlmann windows.rename: check OSError for EEXIST
Sun, 02 Jan 2011 19:34:41 +0100 Adrian Buehlmann rename util.unlink to unlinkpath
Mon, 27 Dec 2010 01:12:31 +0100 Adrian Buehlmann windows.rename: eliminate temp name race (issue2571) stable
Wed, 22 Dec 2010 13:25:00 -0600 Steve Borho util: concentrate quoting knowledge to windows.py quotecommand() stable
Sun, 10 Oct 2010 10:06:36 -0500 Augie Fackler termwidth: move to ui.ui from util
Fri, 27 Aug 2010 13:32:40 -0400 Brodie Rao cleanup: remove unused variables
Mon, 10 May 2010 21:09:48 +0200 Patrick Mezard acl: grp module is not available on windows
Mon, 26 Apr 2010 22:30:40 +0200 Patrick Mezard util: fix default termwidth() under Windows stable
Mon, 08 Feb 2010 15:36:34 +0100 Benoit Boissinot fix coding style (reported by pylint)
Mon, 25 Jan 2010 00:05:27 -0600 Matt Mackall many, many trivial check-code fixups
Tue, 19 Jan 2010 22:45:09 -0600 Matt Mackall Merge with stable
Tue, 19 Jan 2010 22:20:08 -0600 Matt Mackall Update license to GPLv2+ stable
Wed, 06 Jan 2010 21:11:58 +0100 Patrick Mezard Find right hg command for detached process
Fri, 10 Apr 2009 21:20:25 +0200 Patrick Mezard serve: add and use portable spawnvp replacement
Tue, 29 Dec 2009 23:59:41 -0600 Steve Borho windows: expand environment vars in find_exe
Sun, 11 Oct 2009 21:32:55 +0200 Dirkjan Ochtman merge with mpm
Sat, 10 Oct 2009 12:23:42 +0200 Dirkjan Ochtman merge with mpm
Fri, 09 Oct 2009 00:29:39 +0200 Patrick Mezard Merge with crew-stable
Sun, 11 Oct 2009 13:54:19 -0500 Matt Mackall Merge with stable
Thu, 08 Oct 2009 23:32:36 +0200 Patrick Mezard windows: fix unlink() not dropping empty tree (issue1861)
Wed, 07 Oct 2009 20:32:07 +0200 Adrian Buehlmann util: move rename into posix.py and windows.py
Wed, 16 Sep 2009 16:01:37 -0500 Matt Mackall Merge with stable
Mon, 14 Sep 2009 19:53:43 -0500 Steve Borho windows: provide filename in IOError exceptions
Sun, 26 Jul 2009 17:25:08 +0200 Dan Villiom Podlaski Christiansen util: add realpath() for getting the 'true' path.
Tue, 14 Jul 2009 22:38:12 -0400 James Abbatiello Fix test-demandimport and test-trusted under Windows
Thu, 09 Jul 2009 21:39:19 +0900 Shun-ichi GOTO Use os.path.split() for MBCS with win32mbcs extension.
Thu, 25 Jun 2009 22:43:58 +0200 Henrik Stuart windows: fix use of undefined exception (issue1707)
Wed, 24 Jun 2009 12:03:53 +0200 Dirkjan Ochtman windows: import WinIOError from win32 module (issue1707)
Wed, 10 Jun 2009 15:10:21 +0200 Benoit Boissinot use new style classes
Tue, 09 Jun 2009 09:25:17 -0400 timeless Generally replace "file name" with "filename" in help and comments.
Sat, 30 May 2009 23:42:35 +0200 Martin Geisler posix: do not use fstat in isowner
Sun, 24 May 2009 16:38:29 -0500 Matt Mackall cmdutils: Take over glob expansion duties from util
Sat, 23 May 2009 19:57:25 +0200 Henrik Stuart windows: make openhardlinks work
Wed, 13 May 2009 21:36:16 +0200 Sune Foldager posixfile: remove posixfile_nt and fix import bug in windows.py
Tue, 12 May 2009 15:50:44 +0200 Henrik Stuart windows: avoid deleting non-empty reparse points
Fri, 08 May 2009 15:52:26 -0700 Bryan O'Sullivan Windows: improve performance via buffered I/O
Tue, 28 Apr 2009 17:40:46 +0200 Simon Heimberg separate import lines from mercurial and general python modules
Sun, 26 Apr 2009 01:13:08 +0200 Martin Geisler put license and copyright info into comment blocks
Sun, 26 Apr 2009 01:08:54 +0200 Martin Geisler updated license to be explicit about GPL version 2
Fri, 03 Apr 2009 14:52:03 -0500 Matt Mackall windows: get Abort from error
Thu, 02 Apr 2009 18:04:42 +0200 Martin Geisler windows: break import cycle with util
Thu, 02 Apr 2009 17:09:17 +0200 Sune Foldager windows: fix missing import of util.Abort
Thu, 02 Apr 2009 16:49:34 +0200 Sune Foldager windows: fix import of win32.py (was util_win32.py)
Thu, 26 Mar 2009 23:02:21 -0500 Steve Borho windows: add various missing import
Thu, 26 Mar 2009 22:07:01 -0500 Steve Borho windows: hoist expand_glob() back into util.py
Thu, 26 Mar 2009 13:54:44 -0500 Matt Mackall util: split out posix, windows, and win32 modules