diff --git a/rhodecode/controllers/pullrequests.py b/rhodecode/controllers/pullrequests.py --- a/rhodecode/controllers/pullrequests.py +++ b/rhodecode/controllers/pullrequests.py @@ -213,6 +213,9 @@ class PullrequestsController(BaseRepoCon c.files = [] c.changes = {} + c.lines_added = 0 + c.lines_deleted = 0 + for f in _parsed: st = f['stats'] c.lines_added += st['added']