Patchwork test-help: verify that extension keywords appear in help templates

login
register
mail settings
Submitter timeless@mozdev.org
Date Oct. 6, 2015, 6:31 a.m.
Message ID <44fb702b75a30dd34fab.1444113112@waste.org>
Download mbox | patch
Permalink /patch/10828/
State Accepted
Commit 3f234db6fe8d7cc3d39083f7e7523444bc21e5a2
Headers show

Comments

timeless@mozdev.org - Oct. 6, 2015, 6:31 a.m.
# HG changeset patch
# User timeless@mozdev.org
# Date 1443117498 14400
#      Thu Sep 24 13:58:18 2015 -0400
# Node ID 44fb702b75a30dd34fab4a0ccdf131344edcd616
# Parent  efd57cd6fd1d5eb76102fabfc45676873bbba29d
test-help: verify that extension keywords appear in help templates

fixed by 82c1d55319cb
Yuya Nishihara - Oct. 6, 2015, 1:53 p.m.
On Tue, 06 Oct 2015 01:31:52 -0500, timeless@mozdev.org wrote:
> # HG changeset patch
> # User timeless@mozdev.org
> # Date 1443117498 14400
> #      Thu Sep 24 13:58:18 2015 -0400
> # Node ID 44fb702b75a30dd34fab4a0ccdf131344edcd616
> # Parent  efd57cd6fd1d5eb76102fabfc45676873bbba29d
> test-help: verify that extension keywords appear in help templates
> 
> fixed by 82c1d55319cb

It is now a2291c9c85a1.
> 
> diff --git a/tests/test-help.t b/tests/test-help.t
> --- a/tests/test-help.t
> +++ b/tests/test-help.t
> @@ -278,6 +278,8 @@
>         transplant    command to transplant changesets from another branch
>         win32mbcs     allow the use of MBCS paths with problematic encodings
>         zeroconf      discover and advertise repositories on the local network
> +  $ hg help --config extensions.transplant= templating|grep transplant > /dev/null
> +

Copied the patch description here because it wasn't easy to see what this test
does for. Pushed to the clowncopter, thanks.

Patch

diff --git a/tests/test-help.t b/tests/test-help.t
--- a/tests/test-help.t
+++ b/tests/test-help.t
@@ -278,6 +278,8 @@ 
        transplant    command to transplant changesets from another branch
        win32mbcs     allow the use of MBCS paths with problematic encodings
        zeroconf      discover and advertise repositories on the local network
+  $ hg help --config extensions.transplant= templating|grep transplant > /dev/null
+
 Test short command list with verbose option
 
   $ hg -v help shortlist