Changeset - 68bdd7646187
[Not reviewed]
default
0 1 0
Mads Kiilerich - 11 years ago 2015-08-05 12:29:41
madski@unity3d.com
pullrequests: if no ancestor is found, use the null revision hash instead of 'None' (Issue #149)
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
kallithea/controllers/pullrequests.py
Show inline comments
 
@@ -338,6 +338,8 @@ class PullrequestsController(BaseRepoCon
 
                                              other_repo.scm_instance, other_rev, # org and other "swapped"
 
                                              org_repo.scm_instance, org_rev,
 
                                              )
 
        if ancestor_rev is None:
 
            ancestor_rev = org_repo.scm_instance.EMPTY_CHANGESET
 
        revisions = [cs.raw_id for cs in cs_ranges]
 

	
 
        # hack: ancestor_rev is not an other_rev but we want to show the
0 comments (0 inline, 0 general)