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

login
register
mail settings
Submitter phabricator
Date March 16, 2021, 8:42 a.m.
Message ID <differential-rev-PHID-DREV-3wmloqwurhgklwuynvco-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/48542/
State Superseded
Headers show

Comments

phabricator - March 16, 2021, 8:42 a.m.
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




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

Patch

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