mercurial/patch.py
changeset 6952 3fffba1c87d0
parent 6948 359e93ceee3a
child 6953 63b5f4c73c98
--- a/mercurial/patch.py	Sun Aug 31 12:05:29 2008 +0200
+++ b/mercurial/patch.py	Sun Aug 31 16:12:02 2008 +0200
@@ -376,15 +376,11 @@
 
         if not self.rej:
             return
-        if self.hunks != 1:
-            hunkstr = "s"
-        else:
-            hunkstr = ""
 
         fname = self.fname + ".rej"
         self.ui.warn(
-            _("%d out of %d hunk%s FAILED -- saving rejects to file %s\n") %
-            (len(self.rej), self.hunks, hunkstr, fname))
+            _("%d out of %d hunks FAILED -- saving rejects to file %s\n") %
+            (len(self.rej), self.hunks, fname))
         try: os.unlink(fname)
         except:
             pass