[PATCH 2 of 3 py3] commands: convert opts back to bytes for status
Yuya Nishihara
yuya at tcha.org
Thu Mar 16 10:41:17 EDT 2017
On Thu, 16 Mar 2017 13:23:24 +0530, Pulkit Goyal wrote:
> # HG changeset patch
> # User Pulkit Goyal <7895pulkit at gmail.com>
> # Date 1489639200 -19800
> # Thu Mar 16 10:10:00 2017 +0530
> # Node ID de18c43f8ce17d52542e6df233e809b6a6ee0a07
> # Parent 47dae3bbf8560824743293870aab601da2d1ed6c
> commands: convert opts back to bytes for status
>
> diff -r 47dae3bbf856 -r de18c43f8ce1 mercurial/commands.py
> --- a/mercurial/commands.py Thu Mar 16 10:01:12 2017 +0530
> +++ b/mercurial/commands.py Thu Mar 16 10:10:00 2017 +0530
> @@ -4720,6 +4720,7 @@
> Returns 0 on success.
> """
>
> + opts = pycompat.byteskwargs(opts)
> revs = opts.get('rev')
> change = opts.get('change')
Queued this, thanks.
More information about the Mercurial-devel
mailing list