Spaces Data
Minimal test - lines (13, 19)
path: .spaces[0].metrics.loc.sloc
old: 4.0
new: 7.0
path: .spaces[0].metrics.loc.blank
old: 0.0
new: 1.0
path: .spaces[0].metrics.loc.cloc
old: 0.0
new: 2.0
path: .spaces[0].metrics.mi.mi_original
old: 121.7103036741301
new: 112.64452790957624
path: .spaces[0].metrics.mi.mi_sei
old: 100.09363926255344
new: 123.84615710735972
path: .spaces[0].metrics.mi.mi_visual_studio
old: 71.17561618370182
new: 65.87399292957676
Code
class HgTree(wptupdate.tree.HgTree):
def __init__(self, *args, **kwargs):
self.commit_cls = kwargs.pop("commit_cls", Commit)
wptupdate.tree.HgTree.__init__(self, *args, **kwargs)
# TODO: The extra methods for upstreaming patches from a
# hg checkout