Patchwork py3: prove hg config works

login
register
mail settings
Submitter Rishabh Madan
Date March 20, 2017, 10:10 p.m.
Message ID <267c0ae6b17fd09a055c.1490047855@bunty>
Download mbox | patch
Permalink /patch/19478/
State Accepted
Headers show

Comments

Rishabh Madan - March 20, 2017, 10:10 p.m.
# HG changeset patch
# User Rishabh Madan <rishabhmadan96@gmail.com>
# Date 1490046318 -19800
#      Tue Mar 21 03:15:18 2017 +0530
# Node ID 267c0ae6b17fd09a055c4bed21c3c0cd108e4cb4
# Parent  291951ad070b3fa39dd1d83503aa1011a20d9a21
py3: prove hg config works
Augie Fackler - March 20, 2017, 11:24 p.m.
queued, thanks

> On Mar 20, 2017, at 18:10, Rishabh Madan <rishabhmadan96@gmail.com> wrote:
> 
> # HG changeset patch
> # User Rishabh Madan <rishabhmadan96@gmail.com>
> # Date 1490046318 -19800
> #      Tue Mar 21 03:15:18 2017 +0530
> # Node ID 267c0ae6b17fd09a055c4bed21c3c0cd108e4cb4
> # Parent  291951ad070b3fa39dd1d83503aa1011a20d9a21
> py3: prove hg config works
> 
> diff -r 291951ad070b -r 267c0ae6b17f tests/test-check-py3-commands.t
> --- a/tests/test-check-py3-commands.t	Sat Mar 18 12:27:52 2017 -0400
> +++ b/tests/test-check-py3-commands.t	Tue Mar 21 03:15:18 2017 +0530
> @@ -65,6 +65,22 @@
>   $ cd ..
> #endif
> 
> +Test if `hg config` works:
> +
> +  $ $PYTHON3 $HGBIN config
> +  defaults.backout=-d "0 0"
> +  defaults.commit=-d "0 0"
> +  defaults.shelve=--date "0 0"
> +  defaults.tag=-d "0 0"
> +  devel.all-warnings=true
> +  largefiles.usercache=$TESTTMP/.cache/largefiles
> +  ui.slash=True
> +  ui.interactive=False
> +  ui.mergemarkers=detailed
> +  ui.promptecho=True
> +  web.address=localhost
> +  web.ipv6=False
> +
>   $ cat > included-hgrc <<EOF
>> [extensions]
>> babar = imaginary_elephant
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel@mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Patch

diff -r 291951ad070b -r 267c0ae6b17f tests/test-check-py3-commands.t
--- a/tests/test-check-py3-commands.t	Sat Mar 18 12:27:52 2017 -0400
+++ b/tests/test-check-py3-commands.t	Tue Mar 21 03:15:18 2017 +0530
@@ -65,6 +65,22 @@ 
   $ cd ..
 #endif
 
+Test if `hg config` works:
+
+  $ $PYTHON3 $HGBIN config
+  defaults.backout=-d "0 0"
+  defaults.commit=-d "0 0"
+  defaults.shelve=--date "0 0"
+  defaults.tag=-d "0 0"
+  devel.all-warnings=true
+  largefiles.usercache=$TESTTMP/.cache/largefiles
+  ui.slash=True
+  ui.interactive=False
+  ui.mergemarkers=detailed
+  ui.promptecho=True
+  web.address=localhost
+  web.ipv6=False
+
   $ cat > included-hgrc <<EOF
   > [extensions]
   > babar = imaginary_elephant