[PATCH 1 of 2 V4] debuglocks: add tests (and fix typo in early return)

Yuya Nishihara yuya at tcha.org
Wed Dec 13 07:24:30 EST 2017


On Wed, 13 Dec 2017 01:58:05 +0100, Paul Morelle wrote:
> # HG changeset patch
> # User Paul Morelle <paul.morelle at octobus.net>
> # Date 1510497259 -3600
> #      Sun Nov 12 15:34:19 2017 +0100
> # Node ID 9beb49c91570014c034c3eaad9ce0a7a37e4c931
> # Parent  37d923cdeba923f4964befcc3d0789362a433a35
> # EXP-Topic debugsetlocks
> # Available At https://bitbucket.org/octobus/mercurial-devel/
> #              hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 9beb49c91570
> debuglocks: add tests (and fix typo in early return)

Queued, thanks.

> +dolock [wlock] [lock] will set the locks until interrupted
> +  $ dolock() {
> +  >     declare -A options
> +  >     options=([${1:-nolock}]=1 [${2:-nowlock}]=1)

This is Bashism, but I've queued as-is since this line is removed later.


More information about the Mercurial-devel mailing list