Mon, 21 Feb 2022 13:08:28 -0700 |
Gregory Szorc |
py3: use class X: instead of class X(object):
|
file |
diff |
annotate
|
Thu, 03 Mar 2022 17:34:00 +0100 |
Gregory Szorc |
py2: remove simple from __future__ statements
|
file |
diff |
annotate
|
Thu, 25 Mar 2021 18:02:08 +0100 |
Raphaël Gomès |
contributor: change mentions of mpm to olivia
|
file |
diff |
annotate
|
Fri, 27 Nov 2020 17:03:29 -0500 |
Augie Fackler |
formating: upgrade to black 20.8b1
|
file |
diff |
annotate
|
Fri, 18 Sep 2020 08:27:43 -0700 |
Martin von Zweigbergk |
locking: remove support for inheriting locks in subprocess
|
file |
diff |
annotate
|
Tue, 19 Nov 2019 18:38:17 -0800 |
Kyle Lippincott |
lock: pass "success" boolean to _afterlock callbacks
|
file |
diff |
annotate
|
Mon, 18 Nov 2019 20:10:38 -0800 |
Valentin Gatien-Baron |
lock: fix race in lock-breaking code
|
file |
diff |
annotate
|
Fri, 01 Nov 2019 19:59:07 -0400 |
Valentin Gatien-Baron |
lock: refactor in preparation for next commit
|
file |
diff |
annotate
|
Thu, 07 Nov 2019 13:18:19 -0500 |
Augie Fackler |
cleanup: remove pointless r-prefixes on double-quoted strings
|
file |
diff |
annotate
|
Sun, 06 Oct 2019 16:55:18 -0400 |
Gregory Szorc |
py3: manually import getattr where it is needed
|
file |
diff |
annotate
|
Sun, 06 Oct 2019 09:48:39 -0400 |
Augie Fackler |
formatting: byteify all mercurial/ and hgext/ string literals
|
file |
diff |
annotate
|
Sun, 06 Oct 2019 09:45:02 -0400 |
Augie Fackler |
formatting: blacken the codebase
|
file |
diff |
annotate
|
Wed, 06 Jun 2018 13:31:24 -0400 |
Augie Fackler |
merge with stable
|
file |
diff |
annotate
|
Fri, 18 May 2018 21:24:06 +0900 |
Yuya Nishihara |
lock: add internal config to not replace signal handlers while locking
stable
|
file |
diff |
annotate
|
Fri, 27 Apr 2018 10:58:08 -0400 |
Augie Fackler |
lock: pass sysstr to warnings module
|
file |
diff |
annotate
|
Fri, 13 Apr 2018 16:31:02 +0530 |
Pulkit Goyal |
lock: don't use 'file' as a variable name
|
file |
diff |
annotate
|
Fri, 13 Apr 2018 16:30:27 +0530 |
Pulkit Goyal |
py3: use b"%d" instead of str() to convert integers to bytes
|
file |
diff |
annotate
|
Sat, 24 Mar 2018 15:10:51 +0900 |
Yuya Nishihara |
procutil: bulk-replace function calls to point to new module
|
file |
diff |
annotate
|
Sat, 03 Mar 2018 23:49:39 -0500 |
Yuya Nishihara |
lock: block signal interrupt while making a lock file
|
file |
diff |
annotate
|
Sat, 03 Mar 2018 15:33:52 -0500 |
Yuya Nishihara |
py3: back out c77c925987d7 to store bytes filename in IOError
|
file |
diff |
annotate
|
Sat, 03 Mar 2018 10:32:06 -0500 |
Yuya Nishihara |
py3: fix formatting of lock error message
|
file |
diff |
annotate
|
Sat, 03 Mar 2018 10:08:13 -0500 |
Yuya Nishihara |
py3: pass a system-string filename to sub-classes of IOError
|
file |
diff |
annotate
|
Sun, 18 Feb 2018 15:38:29 -0500 |
Augie Fackler |
lock: delay is numeric, use %d for formatting
|
file |
diff |
annotate
|
Sat, 27 Jan 2018 13:09:49 +0900 |
Yuya Nishihara |
py3: replace "if ispy3" by encoding.strtolocal()
|
file |
diff |
annotate
|
Wed, 29 Nov 2017 20:39:59 -0500 |
Boris Feld |
lock: allow to configure when the lock messages are displayed
|
file |
diff |
annotate
|
Wed, 29 Nov 2017 20:36:29 -0500 |
Boris Feld |
lock: add a trylock method handling the timeout and messaging logic
|
file |
diff |
annotate
|
Mon, 01 May 2017 19:59:13 +0900 |
FUJIWARA Katsunori |
lock: avoid unintentional lock acquisition at failure of readlock
stable
|
file |
diff |
annotate
|
Mon, 01 May 2017 19:58:52 +0900 |
FUJIWARA Katsunori |
lock: avoid unintentional lock acquisition at failure of readlock
stable
|
file |
diff |
annotate
|
Sun, 12 Mar 2017 16:26:34 -0700 |
Yuya Nishihara |
lock: do not encode result of gethostname on Python 2
|
file |
diff |
annotate
|
Sun, 12 Mar 2017 03:28:50 -0400 |
Augie Fackler |
lock: encode result of gethostname into a bytestring
|
file |
diff |
annotate
|
Sun, 12 Mar 2017 03:29:04 -0400 |
Augie Fackler |
lock: use %d to format integer into a bytestring
|
file |
diff |
annotate
|
Fri, 10 Feb 2017 13:56:31 -0800 |
Jun Wu |
lock: include Linux pid namespace identifier in prefix
|
file |
diff |
annotate
|
Fri, 10 Feb 2017 13:35:21 -0800 |
Jun Wu |
lock: move lock._host calculation to a function
|
file |
diff |
annotate
|
Sat, 16 Apr 2016 09:00:15 -0700 |
Gregory Szorc |
lock: clear postrelease hooks list after usage
|
file |
diff |
annotate
|
Wed, 03 Feb 2016 09:11:22 +0000 |
timeless |
util: enable getpid to be replaced
|
file |
diff |
annotate
|
Fri, 15 Jan 2016 13:14:45 -0800 |
Bryan O'Sullivan |
lock: turn a lock into a Python context manager
|
file |
diff |
annotate
|
Tue, 06 Oct 2015 13:13:31 -0700 |
Siddharth Agarwal |
lock: add a way to prevent locks from being inherited
|
file |
diff |
annotate
|
Sun, 04 Oct 2015 20:04:44 -0700 |
Siddharth Agarwal |
lock.release: don't call postrelease functions for inherited locks
|
file |
diff |
annotate
|
Sun, 04 Oct 2015 20:02:50 -0700 |
Siddharth Agarwal |
lock: turn prepinherit/reacquire into a single context manager
|
file |
diff |
annotate
|
Thu, 24 Sep 2015 22:07:55 -0700 |
Siddharth Agarwal |
lock: recognize parent locks while acquiring
|
file |
diff |
annotate
|
Thu, 24 Sep 2015 21:26:37 -0700 |
Siddharth Agarwal |
lock: add a wrapper to os.getpid() to make testing easier
|
file |
diff |
annotate
|
Thu, 24 Sep 2015 16:03:26 -0700 |
Siddharth Agarwal |
lock.release: do not unlink inherited locks
|
file |
diff |
annotate
|
Thu, 24 Sep 2015 16:00:41 -0700 |
Siddharth Agarwal |
lock: add a method to reacquire the lock after subprocesses exit
|
file |
diff |
annotate
|
Thu, 24 Sep 2015 10:37:13 -0700 |
Siddharth Agarwal |
lock: add a method to prepare the lock for inheritance
|
file |
diff |
annotate
|
Thu, 24 Sep 2015 15:57:11 -0700 |
Siddharth Agarwal |
lock: introduce state to keep track of inheritance
|
file |
diff |
annotate
|
Tue, 22 Sep 2015 14:09:42 -0700 |
Siddharth Agarwal |
lock: move acquirefn call to inside the lock
|
file |
diff |
annotate
|
Wed, 16 Sep 2015 19:52:06 -0700 |
Siddharth Agarwal |
lock: factor out lock testing into a separate function
|
file |
diff |
annotate
|
Wed, 16 Sep 2015 19:26:59 -0700 |
Siddharth Agarwal |
lock: factor code to read lock into a separate function
|
file |
diff |
annotate
|
Mon, 24 Aug 2015 13:26:10 -0500 |
Matt Mackall |
lock: make trylock private
|
file |
diff |
annotate
|
Mon, 24 Aug 2015 13:24:43 -0500 |
Matt Mackall |
lock: loop a finite number of times in trylock (issue4787)
|
file |
diff |
annotate
|
Sat, 08 Aug 2015 19:30:17 -0700 |
Gregory Szorc |
lock: use absolute_import
|
file |
diff |
annotate
|
Tue, 23 Jun 2015 22:20:08 -0700 |
Gregory Szorc |
global: mass rewrite to use modern exception syntax
|
file |
diff |
annotate
|
Thu, 16 Oct 2014 19:15:51 -0700 |
Siddharth Agarwal |
lock: while releasing, unlink lockfile even if the release function throws
|
file |
diff |
annotate
|
Thu, 06 Feb 2014 01:55:09 +0100 |
Mads Kiilerich |
localrepo: give a sigh of relief when getting lock after waiting for it
|
file |
diff |
annotate
|
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
|
file |
diff |
annotate
|
Wed, 02 Oct 2013 21:16:40 +0900 |
Yuya Nishihara |
lock: handle race in trylock/testlock on Windows
|
file |
diff |
annotate
|
Thu, 11 Apr 2013 13:30:27 -0700 |
Bryan O'Sullivan |
lock: if we fork, ensure that only the parent releases
|
file |
diff |
annotate
|
Sat, 29 Sep 2012 12:28:52 -0500 |
Matt Mackall |
merge with stable
|
file |
diff |
annotate
|
Thu, 27 Sep 2012 14:38:03 -0700 |
Tomasz Kleczek |
lock: fixed race condition in trylock/testlock (issue3506)
stable
|
file |
diff |
annotate
|
Tue, 11 Sep 2012 08:36:09 -0700 |
Bryan O'Sullivan |
Merge spelling fixes
|
file |
diff |
annotate
|
Fri, 17 Aug 2012 13:58:18 -0700 |
timeless |
spelling: release
|
file |
diff |
annotate
|
Tue, 21 Aug 2012 02:41:20 +0200 |
Mads Kiilerich |
improve some comments and docstrings, fixing issues found when spell checking
|
file |
diff |
annotate
|
Wed, 15 Aug 2012 22:38:42 +0200 |
Mads Kiilerich |
fix trivial spelling errors
|
file |
diff |
annotate
|
Wed, 30 Nov 2011 16:53:44 -0600 |
Matt Mackall |
lock: change name of release chain
|
file |
diff |
annotate
|
Mon, 28 Nov 2011 15:05:26 +0100 |
Pierre-Yves David |
lock: add mechanism to register post release callback
|
file |
diff |
annotate
|
Wed, 01 Jun 2011 12:38:46 +0200 |
Martin Geisler |
check-code: flag 0/1 used as constant Boolean expression
|
file |
diff |
annotate
|
Tue, 11 Jan 2011 14:10:16 +0100 |
Adrian Buehlmann |
lock: use util.unlink (issue2537)
|
file |
diff |
annotate
|
Tue, 19 Jan 2010 22:20:08 -0600 |
Matt Mackall |
Update license to GPLv2+
stable
|
file |
diff |
annotate
|
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
|
file |
diff |
annotate
|
Sat, 31 Oct 2009 18:10:52 +0100 |
Benoit Boissinot |
lock: catch specific exceptions
|
file |
diff |
annotate
|
Sat, 31 Oct 2009 17:07:12 +0100 |
Benoit Boissinot |
lock: use '==' instead of 'is' for integer equality ('is' may not work)
|
file |
diff |
annotate
|
Wed, 05 Aug 2009 14:42:57 +0200 |
Greg Ward |
localrepo: document the locking scheme a little better
|
file |
diff |
annotate
|
Tue, 28 Apr 2009 17:40:46 +0200 |
Simon Heimberg |
separate import lines from mercurial and general python modules
|
file |
diff |
annotate
|
Sun, 26 Apr 2009 01:08:54 +0200 |
Martin Geisler |
updated license to be explicit about GPL version 2
|
file |
diff |
annotate
|
Wed, 22 Apr 2009 02:01:22 +0200 |
Ronny Pfannschmidt |
add a deprecation warning for gc based lock releasing
|
file |
diff |
annotate
|
Wed, 22 Apr 2009 02:01:22 +0200 |
Ronny Pfannschmidt |
made repo locks recursive and deprecate refcounting based lock releasing
|
file |
diff |
annotate
|
Mon, 12 Jan 2009 11:09:14 -0600 |
Matt Mackall |
error: move lock errors
|
file |
diff |
annotate
|
Sat, 21 Jul 2007 10:39:42 +0200 |
Thomas Arendsen Hein |
Use format string for lockname again (was changed by 3e25a6eb5c9a)
|
file |
diff |
annotate
|
Thu, 19 Jul 2007 15:13:48 -0700 |
Bryan O'Sullivan |
lock.py: cache hostname, but not pid, in case we fork
|
file |
diff |
annotate
|
Wed, 13 Dec 2006 13:27:09 -0600 |
Matt Mackall |
Replace demandload with new demandimport
|
file |
diff |
annotate
|
Mon, 20 Nov 2006 19:36:28 +0100 |
Thomas Arendsen Hein |
Don't step into an endless loop when lock file is empty.
|
file |
diff |
annotate
|
Sat, 12 Aug 2006 12:30:02 -0700 |
Vadim Gelfer |
update copyrights.
|
file |
diff |
annotate
|
Sun, 09 Jul 2006 01:30:30 +0200 |
Benoit Boissinot |
use __contains__, index or split instead of str.find
|
file |
diff |
annotate
|
Tue, 28 Mar 2006 09:01:07 -0800 |
Vadim Gelfer |
fix backtrace printed when cannot get lock.
|
file |
diff |
annotate
|
Fri, 10 Mar 2006 08:31:31 -0800 |
Vadim Gelfer |
change lock format to let us detect and break stale locks.
|
file |
diff |
annotate
|
Sun, 05 Mar 2006 01:37:28 -0800 |
Vadim Gelfer |
make lock module use demandload.
|
file |
diff |
annotate
|
Tue, 21 Feb 2006 23:21:15 +0100 |
Benoit Boissinot |
add a timeout when a lock is held (default 1024 sec)
|
file |
diff |
annotate
|
Mon, 20 Feb 2006 01:09:40 +0100 |
Benoit Boissinot |
Raise a different exception when the lock is not available
|
file |
diff |
annotate
|
Fri, 18 Nov 2005 22:48:47 -0800 |
Eric Hopper |
Convert all classes to new-style classes by deriving them from object.
|
file |
diff |
annotate
|
Fri, 11 Nov 2005 15:34:09 -0800 |
Benoit Boissinot |
add a releasefn keyword to lock.lock
|
file |
diff |
annotate
|
Fri, 26 Aug 2005 13:06:58 +0200 |
benoit boissinot |
pep-0008 cleanup
|
file |
diff |
annotate
|
Thu, 14 Jul 2005 22:56:55 -0800 |
mpm |
Merge with TAH
|
file |
diff |
annotate
|
Thu, 14 Jul 2005 22:51:47 +0100 |
Thomas Arendsen Hein |
Make makelock and readlock work on filesystems without symlink support.
|
file |
diff |
annotate
|
Wed, 29 Jun 2005 10:42:35 -0800 |
mpm |
Whitespace cleanups
|
file |
diff |
annotate
|
Tue, 28 Jun 2005 02:08:14 -0800 |
mpm |
Fix troubles with clone and exception handling
|
file |
diff |
annotate
|
Tue, 21 Jun 2005 21:04:49 -0800 |
mpm |
Pull from TAH
|
file |
diff |
annotate
|
Tue, 21 Jun 2005 19:43:40 -0800 |
mpm |
[PATCH] Enables lock work under the other 'OS'
|
file |
diff |
annotate
|
Thu, 26 May 2005 08:53:04 -0800 |
mpm |
Simply repository locking
|
file |
diff |
annotate
|