Tue, 08 Dec 2015 08:36:00 +0000 check-config: escape period in regexp for inline comments
timeless <timeless@mozdev.org> [Tue, 08 Dec 2015 08:36:00 +0000] rev 27312
check-config: escape period in regexp for inline comments
Tue, 08 Dec 2015 09:09:01 +0000 check-config: allow numbers in configs
timeless <timeless@mozdev.org> [Tue, 08 Dec 2015 09:09:01 +0000] rev 27311
check-config: allow numbers in configs p4...
Tue, 08 Dec 2015 09:22:53 +0000 check-config: recognize convert style documentation
timeless <timeless@mozdev.org> [Tue, 08 Dec 2015 09:22:53 +0000] rev 27310
check-config: recognize convert style documentation
Tue, 08 Dec 2015 04:56:26 +0000 tests: use a single repo for test-contrib-perf
timeless <timeless@mozdev.org> [Tue, 08 Dec 2015 04:56:26 +0000] rev 27309
tests: use a single repo for test-contrib-perf
Fri, 04 Dec 2015 19:05:56 +0000 perf: perfrevlog optimize for perf.stub
timeless <timeless@mozdev.org> [Fri, 04 Dec 2015 19:05:56 +0000] rev 27308
perf: perfrevlog optimize for perf.stub
Fri, 04 Dec 2015 19:05:32 +0000 perf: add getlen
timeless <timeless@mozdev.org> [Fri, 04 Dec 2015 19:05:32 +0000] rev 27307
perf: add getlen getlen will return 1 if perf.stub
Fri, 04 Dec 2015 18:08:50 +0000 perf: add optional rev for perflog and perftemplating
timeless <timeless@mozdev.org> [Fri, 04 Dec 2015 18:08:50 +0000] rev 27306
perf: add optional rev for perflog and perftemplating
Fri, 04 Dec 2015 18:18:07 +0000 perf: perfparents honor config perf.parentscount
timeless <timeless@mozdev.org> [Fri, 04 Dec 2015 18:18:07 +0000] rev 27305
perf: perfparents honor config perf.parentscount
Fri, 04 Dec 2015 17:41:30 +0000 perf: offer perf.stub to only run one loop
timeless <timeless@mozdev.org> [Fri, 04 Dec 2015 17:41:30 +0000] rev 27304
perf: offer perf.stub to only run one loop
Fri, 04 Dec 2015 17:41:02 +0000 perf: improve grammar of gettimer comment
timeless <timeless@mozdev.org> [Fri, 04 Dec 2015 17:41:02 +0000] rev 27303
perf: improve grammar of gettimer comment
Sun, 06 Dec 2015 22:20:08 -0800 tests: use absolute_import in tinyproxy
Gregory Szorc <gregory.szorc@gmail.com> [Sun, 06 Dec 2015 22:20:08 -0800] rev 27302
tests: use absolute_import in tinyproxy Thus begins a series of adding absolute_import to a bunch of files for Python 3 compatibility.
Sun, 06 Dec 2015 22:02:39 -0800 tests: use absolulte_import in test-wireproto.py
Gregory Szorc <gregory.szorc@gmail.com> [Sun, 06 Dec 2015 22:02:39 -0800] rev 27301
tests: use absolulte_import in test-wireproto.py
Sun, 06 Dec 2015 22:05:19 -0800 tests: use absolute_import in test-walkrepo
Gregory Szorc <gregory.szorc@gmail.com> [Sun, 06 Dec 2015 22:05:19 -0800] rev 27300
tests: use absolute_import in test-walkrepo
Sun, 06 Dec 2015 22:27:53 -0800 tests: use absolute_import in hgweberror.py
Gregory Szorc <gregory.szorc@gmail.com> [Sun, 06 Dec 2015 22:27:53 -0800] rev 27299
tests: use absolute_import in hgweberror.py
Sun, 06 Dec 2015 22:27:18 -0800 tests: use absolute_import in hghave.py
Gregory Szorc <gregory.szorc@gmail.com> [Sun, 06 Dec 2015 22:27:18 -0800] rev 27298
tests: use absolute_import in hghave.py
Sun, 06 Dec 2015 22:26:12 -0800 tests: use absolute_import for heredoctest.py
Gregory Szorc <gregory.szorc@gmail.com> [Sun, 06 Dec 2015 22:26:12 -0800] rev 27297
tests: use absolute_import for heredoctest.py
Sun, 06 Dec 2015 22:25:41 -0800 tests: use absolute_import in /get-with-headers.py
Gregory Szorc <gregory.szorc@gmail.com> [Sun, 06 Dec 2015 22:25:41 -0800] rev 27296
tests: use absolute_import in /get-with-headers.py While I was here, I removed condition code for failure to import json. This code was necessary to support Python < 2.6, which didn't include the json module.
Sun, 06 Dec 2015 22:23:37 -0800 tests: use absolute_import in generate-working-copy-states.py
Gregory Szorc <gregory.szorc@gmail.com> [Sun, 06 Dec 2015 22:23:37 -0800] rev 27295
tests: use absolute_import in generate-working-copy-states.py
Fri, 13 Nov 2015 14:35:36 +0800 hgweb: move entry-preparing code from webcommands to webutils.commonentry()
Anton Shestakov <av6@dwimlabs.net> [Fri, 13 Nov 2015 14:35:36 +0800] rev 27294
hgweb: move entry-preparing code from webcommands to webutils.commonentry() The new function is used to fill basic information about a ctx, such as revision number and hash, author, commit message, etc. Before, every webcommand used to get this basic information on its own using some boilerplate code, and some things in some places just weren't available.
Mon, 30 Nov 2015 19:30:16 +0000 grammar: favor zero, one, two over ... or no
timeless <timeless@mozdev.org> [Mon, 30 Nov 2015 19:30:16 +0000] rev 27293
grammar: favor zero, one, two over ... or no
Mon, 30 Nov 2015 19:29:46 +0000 commands: use Oxford comma (help clone)
timeless <timeless@mozdev.org> [Mon, 30 Nov 2015 19:29:46 +0000] rev 27292
commands: use Oxford comma (help clone)
Wed, 09 Dec 2015 08:28:53 +0900 commit: make commit acquire store lock before processing for consistency
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Wed, 09 Dec 2015 08:28:53 +0900] rev 27291
commit: make commit acquire store lock before processing for consistency If acquisition of wlock waits for another "hg commit" process to release it, dirstate will refer newly committed revision after acquisition of wlock. At that time, '00changelog.i' on the filesystem contains this new revision, but in-memory 'repo.changelog' doesn't, if it is cached without store lock (slock) before updating by another "hg commit". This makes validating parents at re-loading 'repo.dirstate' from '.hg/dirstate' replace such new revision with 'nullid'. Then, 'localrepository.commit()' creates "orphan" revision (see issue4368 for detail). a01d3d32b53a makes 'commands.commit()' acquire both wlock and slock before processing to avoid this issue at "hg commit". But similar issue can occur even after a01d3d32b53a, if 3rd party extension does: - refer 'repo.changelog' outside wlock scope, and - invoke 'repo.commit()' directly (instead of 'commands.commit()') This patch makes 'commit()' acquire slock before processing, to refer recent changelog at validating parents of 'repo.dirstate'.
Wed, 09 Dec 2015 08:28:53 +0900 censor: make censor acquire locks before processing
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Wed, 09 Dec 2015 08:28:53 +0900] rev 27290
censor: make censor acquire locks before processing Before this patch, "hg censor" executes below: - without acquisition of wlock, examine whether the working directory refers the revision of the file to be censored or not - without acquisition of store lock (slock), replace existing filelog of file to be censored with censored one, Replacement consists of steps below, and it is assumed that the destination filelog at (1) isn't changed before renaming at (3). 1. read existing filelog in 2. write filelog entries (both censored and not) into temporary file 3. rename from temporary file to existing filelog to be censored It may cause unintentional result, if another command runs parallelly (see also issue4368). This patch makes "hg censor" acquire wlock and slock before processing.
Wed, 09 Dec 2015 08:28:53 +0900 transplant: widen wlock scope of transplant for consitency while processing
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Wed, 09 Dec 2015 08:28:53 +0900] rev 27289
transplant: widen wlock scope of transplant for consitency while processing Before this patch, "hg transplant" executes below before acquisition of wlock. - cmdutil.checkunfinished() - repo.status() for dirty check - repo.dirstate.parents() It may cause unintentional result, if another command runs parallelly (see also issue4368). This patch makes "hg transplant" acquire wlock before processing instead of acquiring wlock in each of 'transplanter.apply()' and 'transplanter.recover()'.
Wed, 09 Dec 2015 08:28:53 +0900 shelve: remove redundant acquisition of wlock for sub commands of unshelve
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Wed, 09 Dec 2015 08:28:53 +0900] rev 27288
shelve: remove redundant acquisition of wlock for sub commands of unshelve Previous patch ensures that wlock is acquired before processing for "hg unshelve". It makes acquisition of wlock in each functions below redundant. - unshelveabort() for "unshelve --abort" - unshelvecontinue() for "unshelve --continue"
Wed, 09 Dec 2015 08:28:53 +0900 shelve: widen wlock scope of unshelve for consistency while processing
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Wed, 09 Dec 2015 08:28:53 +0900] rev 27287
shelve: widen wlock scope of unshelve for consistency while processing Before this patch, "hg unshelve" of shelve extension executes below before acquisition of wlock: - cmdutil.checkunfinished() - examine existence of (specified) shelve file It may cause unintentional result, if another command runs parallelly (see also issue4368). This patch widens wlock scope of "hg unshelve" of shelve extension for consistency while processing.
Sun, 06 Dec 2015 17:07:50 -0800 perf: add perflrucachedict command
Gregory Szorc <gregory.szorc@gmail.com> [Sun, 06 Dec 2015 17:07:50 -0800] rev 27286
perf: add perflrucachedict command It measures time to construct, perform gets, sets, or mixed mode operations on a cache of configurable size with variable numbers of operations.
Sun, 06 Dec 2015 22:22:09 -0800 tests/filterpyflakes: use absolute_import
Gregory Szorc <gregory.szorc@gmail.com> [Sun, 06 Dec 2015 22:22:09 -0800] rev 27285
tests/filterpyflakes: use absolute_import
Sun, 06 Dec 2015 22:14:39 -0800 tests/fakepatchtime.py: use absolute_import
Gregory Szorc <gregory.szorc@gmail.com> [Sun, 06 Dec 2015 22:14:39 -0800] rev 27284
tests/fakepatchtime.py: use absolute_import
Sun, 06 Dec 2015 22:13:36 -0800 tests/fakedirstatewritetime.py: use absolute_import
Gregory Szorc <gregory.szorc@gmail.com> [Sun, 06 Dec 2015 22:13:36 -0800] rev 27283
tests/fakedirstatewritetime.py: use absolute_import
(0) -10000 -3000 -1000 -300 -100 -50 -30 +30 +50 +100 +300 +1000 +3000 +10000 tip