• 
      

    Fix the file sizes and percentages shown for condensediffs.

    Review Request #6208 — Created Aug. 7, 2014 and submitted — Latest diff uploaded

    Information

    Review Board
    release-2.0.x
    afc5bb7...

    Reviewers

    When running condensediffs, the decoded diff content was being used for
    the byte counts, rather than the stored base64 content. This gave an
    inaccurate result for the total number of bytes and the bytes saved.

    The percentage was also wrong, due to a bad calculation. Now it shows an
    accurate savings as a percentage, and also shows up to 2 decimal places.

    Ran a condensediffs and saw the proper counts and percentage. It was way
    off before, for the database I was using.