Patchwork [1,of,5,STABLE,V2] i18n: fix "% inside _()" problem

login
register
mail settings
Submitter Katsunori FUJIWARA
Date April 15, 2014, 6:12 p.m.
Message ID <5ab1c796858b4eff91dd.1397585549@juju>
Download mbox | patch
Permalink /patch/4379/
State Accepted
Commit a45ed365904a2b260c0a63aa3b7e93752fe69761
Headers show

Comments

Katsunori FUJIWARA - April 15, 2014, 6:12 p.m.
# HG changeset patch
# User FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
# Date 1397585100 -32400
#      Wed Apr 16 03:05:00 2014 +0900
# Branch stable
# Node ID 5ab1c796858b4eff91dd63a6710c288d278ee8c6
# Parent  a0f437e2f5a900fccd7812e66ce27b68a6ac4fad
i18n: fix "% inside _()" problem

Patch

diff --git a/hgext/largefiles/overrides.py b/hgext/largefiles/overrides.py
--- a/hgext/largefiles/overrides.py
+++ b/hgext/largefiles/overrides.py
@@ -760,8 +760,8 @@ 
         d = hg.defaultdest(source)
     if opts.get('all_largefiles') and not hg.islocal(d):
             raise util.Abort(_(
-            '--all-largefiles is incompatible with non-local destination %s' %
-            d))
+            '--all-largefiles is incompatible with non-local destination %s') %
+            d)
 
     return orig(ui, source, dest, **opts)