Edgewall Software
Modify

Opened 12 years ago

Last modified 12 years ago

#790 new defect

[PATCH] Coverage URL uses an invalid revision number

Reported by: eblot Owned by:
Priority: major Milestone: 0.6.2
Component: Build master Version: 0.6
Keywords: Cc:
Operating System: BSD

Description (last modified by eblot)

I may be mistaken, but it seems that the "creation" revision is not built from the right value:

  • bitten/report/coverage.py

    a b class TestCoverageAnnotator(Component): 
    209209            add_ctxtnav(req, tag.a('Coverage',
    210210                    title='Annotate file with test coverage '
    211211                          'data (if available)',
    212                     href=req.href.browser(resource.id, 
     212                    href=req.href.browser(resource.id,
    213213                        annotate='coverage', rev=req.args.get('rev'),
    214                         created=data.get('rev')),
     214                        created=data.get('created_rev')),

The attached patch fixes this issue, improve readability of the covered line values, and decreased the length of the debug trace (which used to contain the whole coverage data sent back to the master)

Attachments (1)

coverage-rev.patch (2.3 KB) - added by eblot 12 years ago.

Download all attachments as: .zip

Change History (2)

Changed 12 years ago by eblot

comment:1 Changed 12 years ago by eblot

  • Description modified (diff)

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.