[PATCH] commands, i18n: add translation hint for split message

Wagner Bruna wagner.bruna+mercurial at gmail.com
Fri May 6 13:53:24 CDT 2011


# HG changeset patch
# User Wagner Bruna <wbruna at softwareexpress.com.br>
# Date 1304707684 10800
# Node ID 5ee1309f7edb7185b6b56faaebe93f46ebb0c840
# Parent  45f7aa35f2fd288457d1741732d4add210c308bd
commands, i18n: add translation hint for split message

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -609,6 +609,7 @@ def branch(ui, repo, label=None, **opts)
         if not opts.get('force') and label in repo.branchtags():
             if label not in [p.branch() for p in repo.parents()]:
                 raise util.Abort(_('a branch of the same name already exists'),
+                                 # i18n: "it" refers to an existing branch
                                  hint=_("use 'hg update' to switch to it"))
         repo.dirstate.setbranch(label)
         ui.status(_('marked working directory as branch %s\n') % label)


More information about the Mercurial-devel mailing list