hgext/hgk.py
changeset 43080 86e4daa2d54c
parent 43077 687b865b95ad
child 43105 649d3ac37a12
--- a/hgext/hgk.py	Sun Oct 06 10:10:14 2019 -0400
+++ b/hgext/hgk.py	Sun Oct 06 10:51:16 2019 -0400
@@ -97,17 +97,17 @@
 
         for f in modified:
             # TODO get file permissions
-            ui.write(
+            ui.writenoi18n(
                 b":100664 100664 %s %s M\t%s\t%s\n"
                 % (short(mmap[f]), short(mmap2[f]), f, f)
             )
         for f in added:
-            ui.write(
+            ui.writenoi18n(
                 b":000000 100664 %s %s N\t%s\t%s\n"
                 % (empty, short(mmap2[f]), f, f)
             )
         for f in removed:
-            ui.write(
+            ui.writenoi18n(
                 b":100664 000000 %s %s D\t%s\t%s\n"
                 % (short(mmap[f]), empty, f, f)
             )
@@ -166,7 +166,7 @@
     ui.write((b"branch %s\n" % ctx.branch()))
     if obsolete.isenabled(repo, obsolete.createmarkersopt):
         if ctx.obsolete():
-            ui.write(b"obsolete\n")
+            ui.writenoi18n(b"obsolete\n")
     ui.write((b"phase %s\n\n" % ctx.phasestr()))
 
     if prefix != b"":