Closed
Bug 756448
Opened 12 years ago
Closed 12 years ago
[compare-locales] merge content wrong with more than one error per file
Categories
(Mozilla Localizations :: Infrastructure, defect)
Mozilla Localizations
Infrastructure
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Pike, Assigned: Pike)
Details
Attachments
(1 file)
578 bytes,
patch
|
zbraniecki
:
review+
|
Details | Diff | Splinter Review |
The entries for skips in ContentComparer.merge were ordered per key, and not by file location. That means, the chunks to be removed for errornous values weren't sequenced, and thus the resulting file would be, say, non-optimal. The fix is easy, just sort the thing by start offset. I verified this by running over a few merge outputs which have errors on fx_central.
Assignee | ||
Comment 1•12 years ago
|
||
Comment on attachment 625083 [details] [diff] [review] sort skips by start offset Gandalf said he'd take a look at this, requesting review.
Attachment #625083 -
Flags: review?(gandalf)
Comment 2•12 years ago
|
||
Comment on attachment 625083 [details] [diff] [review] sort skips by start offset Review of attachment 625083 [details] [diff] [review]: ----------------------------------------------------------------- looks and works good :)
Attachment #625083 -
Flags: review?(gandalf) → review+
Assignee | ||
Comment 3•12 years ago
|
||
http://hg.mozilla.org/l10n/compare-locales/rev/a36840ad87a1, FIXED.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•