# HG changeset patch # User Mads Kiilerich # Date 2014-10-02 22:20:36 # Node ID 0ece1a4cf6e3972036b17ee7efc0875375dff2c0 # Parent 2dad9708c89f164a8998d5d87be46904baf38355 pull requests: the node for null is not '0' but 40 * '0' Fix crash in PR loading diff --git a/kallithea/controllers/pullrequests.py b/kallithea/controllers/pullrequests.py --- a/kallithea/controllers/pullrequests.py +++ b/kallithea/controllers/pullrequests.py @@ -166,7 +166,7 @@ class PullrequestsController(BaseRepoCon if tipbranch: selected = 'branch:%s:%s' % (tipbranch, tiprev) else: - selected = 'tag:null:0' + selected = 'tag:null:' + repo.EMPTY_CHANGESET tags.append((selected, 'null')) else: if 'master' in repo.branches: