Changeset - d415621fa7c5
[Not reviewed]
default
0 1 0
Mads Kiilerich - 12 years ago 2013-06-26 00:20:17
madski@unity3d.com
compare: handle revisions and ancestor of empty range in _get_changesets
1 file changed with 6 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rhodecode/controllers/compare.py
Show inline comments
 
@@ -110,7 +110,12 @@ class CompareController(BaseRepoControll
 

	
 
        ancestor = None
 

	
 
        if alias == 'hg':
 
        if org_rev == other_rev:
 
            changesets = []
 
            if merge:
 
                ancestor = org_rev
 

	
 
        elif alias == 'hg':
 
            # lookup up the exact node id
 
            _revset_predicates = {
 
                    'branch': 'branch',
0 comments (0 inline, 0 general)