add:  calculateCumulativeBugs(revs); 
context: function writeByDate(maxDelta){    var today = new Date();    var count = 0;    var wroteGreen = false;        for (var i in revs)    {        var d = new Date(revs[i].date);        if (today - d < maxDelta)        {            writeRev(revs[i]);            ++count;            if (revs[i].condition == G)                wroteGreen = true;        }        else        {                        if (!count || !wroteGreen)            {                /* Rather than show nothing when there is nothing new, we                 * write out everything up to (and including) the first green                 * revision.                 */                writeRev(revs[i]);                if (revs[i].condition == G)                    break;            }            else            {                break;            }        }    }}
meta: 4171	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4171/d9f5ccdeb9aefcd8d4a7c5871a48125e4cb7b825/writerevs.js/clean/writerevs.js