Skip to content
  • Matt Harbison's avatar
    Byteify the message argument to `ui_string()` · e4e41ce8c509
    Matt Harbison authored
    This is a thin wrapper around `mercurial.i18n._()` and as noted in the previous
    commit, that is not meant to handle unicode.  We could fix that function to
    convert internally before passing through, but I'm used to passing bytes to
    these Mercurial internals, and every time I saw it I thought these needed to be
    fixed.  Additionally, if translations are ever made, it should probably be done
    in the same manner as core Mercurial (based on bytes).  The trailing arguments
    are converted to bytes by `ui_string()` before interpolation, so this won't
    introduce any incompatabilities.
    e4e41ce8c509