[PATCH 6 of 6 V2] py3: add test to show `hg update` and `hg identify` works on Python 3

Boris Feld boris.feld at octobus.net
Fri Jun 2 06:33:14 EDT 2017


I read the serie, it looks good!

I love the idea about the dict.update to avoid gc churns.

On Fri, 2017-06-02 at 14:16 +0530, Pulkit Goyal wrote:
> # HG changeset patch
> # User Pulkit Goyal <7895pulkit at gmail.com>
> # Date 1496265079 -19800
> #      Thu Jun 01 02:41:19 2017 +0530
> # Node ID 33317f49a756894824ccc799efa0e7473aeb275c
> # Parent  f6a8bfcf09665b66f0698c0a0f40d48212da9458
> py3: add test to show `hg update` and `hg identify` works on Python 3
> 
> diff --git a/tests/test-py3-commands.t b/tests/test-py3-commands.t
> --- a/tests/test-py3-commands.t
> +++ b/tests/test-py3-commands.t
> @@ -222,3 +222,10 @@
>      "parents": ["0000000000000000000000000000000000000000"]
>     }
>    ]
> +
> +Show that update works now!
> +
> +  $ hg up 0
> +  0 files updated, 0 files merged, 1 files removed, 0 files
> unresolved
> +  $ hg identify
> +  71c96e924262
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


More information about the Mercurial-devel mailing list