[Updated] D9974: cmdutil: add a missing byte prefix to string introduce in 976b26bdd0d8

marmoute (Pierre-Yves David) phabricator at mercurial-scm.org
Wed Feb 10 01:30:26 UTC 2021


Closed by commit rHGf0982c76ef1b: cmdutil: add a missing byte prefix to string introduce in 976b26bdd0d8 (authored by marmoute).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D9974?vs=25512&id=25520

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D9974/new/

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

AFFECTED FILES
  mercurial/cmdutil.py

CHANGE DETAILS

diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py
--- a/mercurial/cmdutil.py
+++ b/mercurial/cmdutil.py
@@ -3145,7 +3145,7 @@
         # avoid reporting something like "committed new head" when
         # recommitting old changesets, and issue a helpful warning
         # for most instances
-        repo.ui.warn(_("warning: commit already existed in the repository!\n"))
+        repo.ui.warn(_(b"warning: commit already existed in the repository!\n"))
     elif (
         not opts.get(b'amend')
         and bheads



To: marmoute, #hg-reviewers, martinvonz
Cc: martinvonz, mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210210/f1ae1564/attachment-0002.html>


More information about the Mercurial-patches mailing list