diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -4269,7 +4269,7 @@ def postincoming(ui, repo, modheads, opt try: ret = hg.update(repo, checkout) except util.Abort, inst: - ui.warn(_("not updating: %s\n" % str(inst))) + ui.warn(_("not updating: %s\n") % str(inst)) return 0 if not ret and not checkout: if bookmarks.update(repo, [movemarkfrom], repo['.'].node()):