changeset 4555:0ece1a4cf6e3

pull requests: the node for null is not '0' but 40 * '0' Fix crash in PR loading
author Mads Kiilerich <madski@unity3d.com>
date Fri, 03 Oct 2014 00:20:36 +0200
parents 2dad9708c89f
children dbd2f2891585
files kallithea/controllers/pullrequests.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/controllers/pullrequests.py	Sun Sep 14 07:39:06 2014 +0200
+++ b/kallithea/controllers/pullrequests.py	Fri Oct 03 00:20:36 2014 +0200
@@ -166,7 +166,7 @@
                 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: