D6994: ui: define (write|status|warn|note)noi18n aliases

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Sun Oct 6 12:06:36 EDT 2019


Closed by commit rHG5209fc94b982: ui: define (write|status|warn|note)noi18n aliases (authored by indygreg).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6994?vs=16886&id=16906

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

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

AFFECTED FILES
  mercurial/ui.py

CHANGE DETAILS

diff --git a/mercurial/ui.py b/mercurial/ui.py
--- a/mercurial/ui.py
+++ b/mercurial/ui.py
@@ -1701,6 +1701,12 @@
             self._writemsg(self._fmsgout, type=b'debug', *msg, **opts)
             self.log(b'debug', b'%s', b''.join(msg))
 
+    # Aliases to defeat check-code.
+    statusnoi18n = status
+    notenoi18n = note
+    warnnoi18n = warn
+    writenoi18n = write
+
     def edit(
         self,
         text,



To: indygreg, #hg-reviewers, durin42
Cc: mercurial-devel


More information about the Mercurial-devel mailing list