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
|
Thu, 16 Oct 2014 19:15:51 -0700 |
Siddharth Agarwal |
lock: while releasing, unlink lockfile even if the release function throws
|
Thu, 06 Feb 2014 01:55:09 +0100 |
Mads Kiilerich |
localrepo: give a sigh of relief when getting lock after waiting for it
|
Tue, 12 Nov 2013 16:23:52 +0900 |
FUJIWARA Katsunori |
lock: take both vfs and lock file path relative to vfs to access via vfs
|
Wed, 02 Oct 2013 21:16:40 +0900 |
Yuya Nishihara |
lock: handle race in trylock/testlock on Windows
|
Thu, 11 Apr 2013 13:30:27 -0700 |
Bryan O'Sullivan |
lock: if we fork, ensure that only the parent releases
|
Sat, 29 Sep 2012 12:28:52 -0500 |
Matt Mackall |
merge with stable
|
Thu, 27 Sep 2012 14:38:03 -0700 |
Tomasz Kleczek |
lock: fixed race condition in trylock/testlock (issue3506)
stable
|
Tue, 11 Sep 2012 08:36:09 -0700 |
Bryan O'Sullivan |
Merge spelling fixes
|
Fri, 17 Aug 2012 13:58:18 -0700 |
timeless |
spelling: release
|
Tue, 21 Aug 2012 02:41:20 +0200 |
Mads Kiilerich |
improve some comments and docstrings, fixing issues found when spell checking
|
Wed, 15 Aug 2012 22:38:42 +0200 |
Mads Kiilerich |
fix trivial spelling errors
|
Wed, 30 Nov 2011 16:53:44 -0600 |
Matt Mackall |
lock: change name of release chain
|
Mon, 28 Nov 2011 15:05:26 +0100 |
Pierre-Yves David |
lock: add mechanism to register post release callback
|
Wed, 01 Jun 2011 12:38:46 +0200 |
Martin Geisler |
check-code: flag 0/1 used as constant Boolean expression
|
Tue, 11 Jan 2011 14:10:16 +0100 |
Adrian Buehlmann |
lock: use util.unlink (issue2537)
|
Tue, 19 Jan 2010 22:20:08 -0600 |
Matt Mackall |
Update license to GPLv2+
stable
|
Mon, 16 Nov 2009 11:55:29 +0100 |
Benoit Boissinot |
lock: the correct way to do a trylock() is to use a timeout of 0
|
Sat, 31 Oct 2009 18:10:52 +0100 |
Benoit Boissinot |
lock: catch specific exceptions
|
Sat, 31 Oct 2009 17:07:12 +0100 |
Benoit Boissinot |
lock: use '==' instead of 'is' for integer equality ('is' may not work)
|
Wed, 05 Aug 2009 14:42:57 +0200 |
Greg Ward |
localrepo: document the locking scheme a little better
|
Tue, 28 Apr 2009 17:40:46 +0200 |
Simon Heimberg |
separate import lines from mercurial and general python modules
|
Sun, 26 Apr 2009 01:08:54 +0200 |
Martin Geisler |
updated license to be explicit about GPL version 2
|
Wed, 22 Apr 2009 02:01:22 +0200 |
Ronny Pfannschmidt |
add a deprecation warning for gc based lock releasing
|
Wed, 22 Apr 2009 02:01:22 +0200 |
Ronny Pfannschmidt |
made repo locks recursive and deprecate refcounting based lock releasing
|
Mon, 12 Jan 2009 11:09:14 -0600 |
Matt Mackall |
error: move lock errors
|
Sat, 21 Jul 2007 10:39:42 +0200 |
Thomas Arendsen Hein |
Use format string for lockname again (was changed by 3e25a6eb5c9a)
|
Thu, 19 Jul 2007 15:13:48 -0700 |
Bryan O'Sullivan |
lock.py: cache hostname, but not pid, in case we fork
|
Wed, 13 Dec 2006 13:27:09 -0600 |
Matt Mackall |
Replace demandload with new demandimport
|
Mon, 20 Nov 2006 19:36:28 +0100 |
Thomas Arendsen Hein |
Don't step into an endless loop when lock file is empty.
|
Sat, 12 Aug 2006 12:30:02 -0700 |
Vadim Gelfer |
update copyrights.
|
Sun, 09 Jul 2006 01:30:30 +0200 |
Benoit Boissinot |
use __contains__, index or split instead of str.find
|
Tue, 28 Mar 2006 09:01:07 -0800 |
Vadim Gelfer |
fix backtrace printed when cannot get lock.
|
Fri, 10 Mar 2006 08:31:31 -0800 |
Vadim Gelfer |
change lock format to let us detect and break stale locks.
|
Sun, 05 Mar 2006 01:37:28 -0800 |
Vadim Gelfer |
make lock module use demandload.
|
Tue, 21 Feb 2006 23:21:15 +0100 |
Benoit Boissinot |
add a timeout when a lock is held (default 1024 sec)
|
Mon, 20 Feb 2006 01:09:40 +0100 |
Benoit Boissinot |
Raise a different exception when the lock is not available
|
Fri, 18 Nov 2005 22:48:47 -0800 |
Eric Hopper |
Convert all classes to new-style classes by deriving them from object.
|
Fri, 11 Nov 2005 15:34:09 -0800 |
Benoit Boissinot |
add a releasefn keyword to lock.lock
|
Fri, 26 Aug 2005 13:06:58 +0200 |
benoit boissinot |
pep-0008 cleanup
|
Thu, 14 Jul 2005 22:56:55 -0800 |
mpm |
Merge with TAH
|
Thu, 14 Jul 2005 22:51:47 +0100 |
Thomas Arendsen Hein |
Make makelock and readlock work on filesystems without symlink support.
|
Wed, 29 Jun 2005 10:42:35 -0800 |
mpm |
Whitespace cleanups
|
Tue, 28 Jun 2005 02:08:14 -0800 |
mpm |
Fix troubles with clone and exception handling
|
Tue, 21 Jun 2005 21:04:49 -0800 |
mpm |
Pull from TAH
|
Tue, 21 Jun 2005 19:43:40 -0800 |
mpm |
[PATCH] Enables lock work under the other 'OS'
|
Thu, 26 May 2005 08:53:04 -0800 |
mpm |
Simply repository locking
|