# HG changeset patch # User Georges Racinet <georges.racinet@octobus.net> # Date 1700049639 -3600 # Wed Nov 15 13:00:39 2023 +0100 # Branch oldstable # Node ID 2a621d0062b0b72e39d165f60f2010aae2f438b1 # Parent 0944dbc03457ecdaf8e5085639a35a25a2f16e62 Fixing a startup problem The error message is ``` *** failed to import extension "hgitaly": unicode '[OPTIONS]...' found in cmdtable.hgitaly-serve ``` It is completely obscure why this has not been a problem before. Got this with Mercurial 6.4.5, then 6.4 on Python 3.9 (usually running with Python 3.10 if that makes any difference). diff --git a/hgext3rd/hgitaly/__init__.py b/hgext3rd/hgitaly/__init__.py --- a/hgext3rd/hgitaly/__init__.py +++ b/hgext3rd/hgitaly/__init__.py @@ -66,7 +66,7 @@ b'In particular the hgitaly.workers configuration item is ' b'ignored.')), ], - _('[OPTIONS]...'), + _(b'[OPTIONS]...'), norepo=True ) def serve(ui, **opts):