##// END OF EJS Templates
i18n: avoid naive plural tricks
Martin Geisler -
r6952:3fffba1c default
parent child Browse files
Show More
@@ -376,15 +376,11 b' class patchfile:'
376
376
377 if not self.rej:
377 if not self.rej:
378 return
378 return
379 if self.hunks != 1:
380 hunkstr = "s"
381 else:
382 hunkstr = ""
383
379
384 fname = self.fname + ".rej"
380 fname = self.fname + ".rej"
385 self.ui.warn(
381 self.ui.warn(
386 _("%d out of %d hunk%s FAILED -- saving rejects to file %s\n") %
382 _("%d out of %d hunks FAILED -- saving rejects to file %s\n") %
387 (len(self.rej), self.hunks, hunkstr, fname))
383 (len(self.rej), self.hunks, fname))
388 try: os.unlink(fname)
384 try: os.unlink(fname)
389 except:
385 except:
390 pass
386 pass
@@ -30,7 +30,7 b' Patch queue now empty'
30 % push git patch with missing target
30 % push git patch with missing target
31 applying changeb
31 applying changeb
32 unable to find 'b' for patching
32 unable to find 'b' for patching
33 1 out of 1 hunk FAILED -- saving rejects to file b.rej
33 1 out of 1 hunks FAILED -- saving rejects to file b.rej
34 patch failed, unable to continue (try -v)
34 patch failed, unable to continue (try -v)
35 b: No such file or directory
35 b: No such file or directory
36 b not tracked!
36 b not tracked!
@@ -287,7 +287,7 b' Patch queue now empty'
287 applying foo
287 applying foo
288 applying bar
288 applying bar
289 file foo already exists
289 file foo already exists
290 1 out of 1 hunk FAILED -- saving rejects to file foo.rej
290 1 out of 1 hunks FAILED -- saving rejects to file foo.rej
291 patch failed, unable to continue (try -v)
291 patch failed, unable to continue (try -v)
292 patch failed, rejects left in working dir
292 patch failed, rejects left in working dir
293 Errors during apply, please fix and refresh bar
293 Errors during apply, please fix and refresh bar
@@ -110,14 +110,14 b' created new head'
110 applying a1e30dd1b8e7
110 applying a1e30dd1b8e7
111 patching file foo
111 patching file foo
112 Hunk #1 FAILED at 0
112 Hunk #1 FAILED at 0
113 1 out of 1 hunk FAILED -- saving rejects to file foo.rej
113 1 out of 1 hunks FAILED -- saving rejects to file foo.rej
114 patch failed to apply
114 patch failed to apply
115 abort: Fix up the merge and run hg transplant --continue
115 abort: Fix up the merge and run hg transplant --continue
116 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
116 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
117 applying a1e30dd1b8e7
117 applying a1e30dd1b8e7
118 patching file foo
118 patching file foo
119 Hunk #1 FAILED at 0
119 Hunk #1 FAILED at 0
120 1 out of 1 hunk FAILED -- saving rejects to file foo.rej
120 1 out of 1 hunks FAILED -- saving rejects to file foo.rej
121 patch failed to apply
121 patch failed to apply
122 abort: Fix up the merge and run hg transplant --continue
122 abort: Fix up the merge and run hg transplant --continue
123 a1e30dd1b8e7 transplanted as f1563cf27039
123 a1e30dd1b8e7 transplanted as f1563cf27039
General Comments 0
You need to be logged in to leave comments. Login now