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: