[PATCH v3] py3: properly reject non-encoded strings given to hgweb

Yuya Nishihara yuya at tcha.org
Sun Apr 28 04:10:04 EDT 2019


On Sun, 28 Apr 2019 04:22:53 +0000, Ludovic Chabant wrote:
> # HG changeset patch
> # User Ludovic Chabant <ludovic at chabant.com>
> # Date 1555683992 0
> #      Fri Apr 19 14:26:32 2019 +0000
> # Branch stable
> # Node ID 6805ebb0f1f6a7f34a74732ee6f6ec14e8824e42
> # Parent  3611368a1af3037427eb59635c7dad8dab67c606
> py3: properly reject non-encoded strings given to hgweb

Queued, thanks.

> diff --git a/mercurial/hgweb/__init__.py b/mercurial/hgweb/__init__.py
> --- a/mercurial/hgweb/__init__.py
> +++ b/mercurial/hgweb/__init__.py
> @@ -13,6 +13,7 @@
>  from ..i18n import _
>  
>  from .. import (
> +    encoding,

Dropped this.


More information about the Mercurial-devel mailing list