diff --git a/i18n/pt_BR.po b/i18n/pt_BR.po
--- a/i18n/pt_BR.po
+++ b/i18n/pt_BR.po
@@ -12140,8 +12140,8 @@ msgid "repository '%s' is not local"
 msgstr "o repositório '%s' não é local"
 
 #, python-format
-msgid "no repository found in %r (.hg not found)"
-msgstr "não foi encontrado um repositório em %r (.hg não encontrado)"
+msgid "no repository found in '%s' (.hg not found)"
+msgstr "não foi encontrado um repositório em '%s' (.hg não encontrado)"
 
 msgid "warning: --repository ignored\n"
 msgstr "aviso: opção --repository ignorada\n"
diff --git a/tests/test-i18n.t b/tests/test-i18n.t
--- a/tests/test-i18n.t
+++ b/tests/test-i18n.t
@@ -8,17 +8,17 @@ Default encoding in tests is "ascii" and
 using the "replace" error handler:
 
   $ LANGUAGE=pt_BR hg tip
-  abortado: no repository found in '$TESTTMP' (.hg not found)!
+  abortado: n?o foi encontrado um reposit?rio em '$TESTTMP' (.hg n?o encontrado)!
   [255]
 
 Using a more accomodating encoding:
 
   $ HGENCODING=UTF-8 LANGUAGE=pt_BR hg tip
-  abortado: no repository found in '$TESTTMP' (.hg not found)!
+  abortado: n\xc3\xa3o foi encontrado um reposit\xc3\xb3rio em '$TESTTMP' (.hg n\xc3\xa3o encontrado)! (esc)
   [255]
 
 Different encoding:
 
   $ HGENCODING=Latin-1 LANGUAGE=pt_BR hg tip
-  abortado: no repository found in '$TESTTMP' (.hg not found)!
+  abortado: n\xe3o foi encontrado um reposit\xf3rio em '$TESTTMP' (.hg n\xe3o encontrado)! (esc)
   [255]