mercurial/lock.py
Mon, 16 Sep 2024 15:36:44 +0200 Matt Harbison typing: add `from __future__ import annotations` to most files
Tue, 20 Aug 2024 18:30:47 -0400 Matt Harbison typing: lock in correct changes from pytype 2023.04.11 -> 2023.06.16
Mon, 11 Mar 2024 16:05:28 +0100 Pierre-Yves David test-lock: use synchronisation file instead of sleep stable
Wed, 20 Dec 2023 20:13:22 +0100 Pierre-Yves David lock: properly convert error to bytes
Fri, 01 Sep 2023 00:09:55 +0200 Pierre-Yves David pycompat: drop usage of hasattr/getattr/setattr/delatt proxy
Thu, 02 Feb 2023 17:30:18 +0100 Pierre-Yves David safehasattr: pass attribute name as string instead of bytes
Wed, 01 Jun 2022 00:47:25 +0200 Manuel Jacob py3: catch specific OSError subclasses instead of checking errno
Tue, 31 May 2022 22:50:01 +0200 Manuel Jacob py3: catch FileNotFoundError instead of checking errno == ENOENT
Mon, 21 Feb 2022 13:08:28 -0700 Gregory Szorc py3: use class X: instead of class X(object):
Thu, 03 Mar 2022 17:34:00 +0100 Gregory Szorc py2: remove simple from __future__ statements
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
Fri, 18 Sep 2020 08:27:43 -0700 Martin von Zweigbergk locking: remove support for inheriting locks in subprocess
Tue, 19 Nov 2019 18:38:17 -0800 Kyle Lippincott lock: pass "success" boolean to _afterlock callbacks
Mon, 18 Nov 2019 20:10:38 -0800 Valentin Gatien-Baron lock: fix race in lock-breaking code
Fri, 01 Nov 2019 19:59:07 -0400 Valentin Gatien-Baron lock: refactor in preparation for next commit
Thu, 07 Nov 2019 13:18:19 -0500 Augie Fackler cleanup: remove pointless r-prefixes on double-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
Wed, 06 Jun 2018 13:31:24 -0400 Augie Fackler merge with stable
Fri, 18 May 2018 21:24:06 +0900 Yuya Nishihara lock: add internal config to not replace signal handlers while locking stable
Fri, 27 Apr 2018 10:58:08 -0400 Augie Fackler lock: pass sysstr to warnings module
Fri, 13 Apr 2018 16:31:02 +0530 Pulkit Goyal lock: don't use 'file' as a variable name
Fri, 13 Apr 2018 16:30:27 +0530 Pulkit Goyal py3: use b"%d" instead of str() to convert integers to bytes
Sat, 24 Mar 2018 15:10:51 +0900 Yuya Nishihara procutil: bulk-replace function calls to point to new module
Sat, 03 Mar 2018 23:49:39 -0500 Yuya Nishihara lock: block signal interrupt while making a lock file
Sat, 03 Mar 2018 15:33:52 -0500 Yuya Nishihara py3: back out c77c925987d7 to store bytes filename in IOError
Sat, 03 Mar 2018 10:32:06 -0500 Yuya Nishihara py3: fix formatting of lock error message
Sat, 03 Mar 2018 10:08:13 -0500 Yuya Nishihara py3: pass a system-string filename to sub-classes of IOError
Sun, 18 Feb 2018 15:38:29 -0500 Augie Fackler lock: delay is numeric, use %d for formatting
Sat, 27 Jan 2018 13:09:49 +0900 Yuya Nishihara py3: replace "if ispy3" by encoding.strtolocal()
Wed, 29 Nov 2017 20:39:59 -0500 Boris Feld lock: allow to configure when the lock messages are displayed
Wed, 29 Nov 2017 20:36:29 -0500 Boris Feld lock: add a trylock method handling the timeout and messaging logic
Mon, 01 May 2017 19:59:13 +0900 FUJIWARA Katsunori lock: avoid unintentional lock acquisition at failure of readlock stable
Mon, 01 May 2017 19:58:52 +0900 FUJIWARA Katsunori lock: avoid unintentional lock acquisition at failure of readlock stable
Sun, 12 Mar 2017 16:26:34 -0700 Yuya Nishihara lock: do not encode result of gethostname on Python 2
Sun, 12 Mar 2017 03:28:50 -0400 Augie Fackler lock: encode result of gethostname into a bytestring
Sun, 12 Mar 2017 03:29:04 -0400 Augie Fackler lock: use %d to format integer into a bytestring
Fri, 10 Feb 2017 13:56:31 -0800 Jun Wu lock: include Linux pid namespace identifier in prefix
Fri, 10 Feb 2017 13:35:21 -0800 Jun Wu lock: move lock._host calculation to a function
Sat, 16 Apr 2016 09:00:15 -0700 Gregory Szorc lock: clear postrelease hooks list after usage
Wed, 03 Feb 2016 09:11:22 +0000 timeless util: enable getpid to be replaced
Fri, 15 Jan 2016 13:14:45 -0800 Bryan O'Sullivan lock: turn a lock into a Python context manager
Tue, 06 Oct 2015 13:13:31 -0700 Siddharth Agarwal lock: add a way to prevent locks from being inherited
Sun, 04 Oct 2015 20:04:44 -0700 Siddharth Agarwal lock.release: don't call postrelease functions for inherited locks
Sun, 04 Oct 2015 20:02:50 -0700 Siddharth Agarwal lock: turn prepinherit/reacquire into a single context manager
Thu, 24 Sep 2015 22:07:55 -0700 Siddharth Agarwal lock: recognize parent locks while acquiring
Thu, 24 Sep 2015 21:26:37 -0700 Siddharth Agarwal lock: add a wrapper to os.getpid() to make testing easier
Thu, 24 Sep 2015 16:03:26 -0700 Siddharth Agarwal lock.release: do not unlink inherited locks
Thu, 24 Sep 2015 16:00:41 -0700 Siddharth Agarwal lock: add a method to reacquire the lock after subprocesses exit
Thu, 24 Sep 2015 10:37:13 -0700 Siddharth Agarwal lock: add a method to prepare the lock for inheritance
Thu, 24 Sep 2015 15:57:11 -0700 Siddharth Agarwal lock: introduce state to keep track of inheritance
Tue, 22 Sep 2015 14:09:42 -0700 Siddharth Agarwal lock: move acquirefn call to inside the lock
Wed, 16 Sep 2015 19:52:06 -0700 Siddharth Agarwal lock: factor out lock testing into a separate function
Wed, 16 Sep 2015 19:26:59 -0700 Siddharth Agarwal lock: factor code to read lock into a separate function
Mon, 24 Aug 2015 13:26:10 -0500 Matt Mackall lock: make trylock private
Mon, 24 Aug 2015 13:24:43 -0500 Matt Mackall lock: loop a finite number of times in trylock (issue4787)
Sat, 08 Aug 2015 19:30:17 -0700 Gregory Szorc lock: use absolute_import
Tue, 23 Jun 2015 22:20:08 -0700 Gregory Szorc global: mass rewrite to use modern exception syntax
less more (0) -100 -60 tip