D10227: debugdiscovery: add missing byte string marker to some help text

marmoute (Pierre-Yves David) phabricator at mercurial-scm.org
Tue Mar 16 08:42:35 UTC 2021


marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  This is causing crash when using --help.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D10227

AFFECTED FILES
  mercurial/debugcommands.py

CHANGE DETAILS

diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py
--- a/mercurial/debugcommands.py
+++ b/mercurial/debugcommands.py
@@ -989,14 +989,14 @@
         (
             b'',
             b'local-as-revs',
-            "",
-            'treat local has having these revisions only',
+            b"",
+            b'treat local has having these revisions only',
         ),
         (
             b'',
             b'remote-as-revs',
-            "",
-            'use local as remote, with only these these revisions',
+            b"",
+            b'use local as remote, with only these these revisions',
         ),
     ]
     + cmdutil.remoteopts



To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel


More information about the Mercurial-devel mailing list