Changeset - d21c14e36fa8
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 14 years ago 2011-07-18 17:28:25
marcin@python-works.com
fixes issues with new dag graph for mercurial 1.9
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
rhodecode/controllers/changelog.py
Show inline comments
 
@@ -99,12 +99,14 @@ class ChangelogController(BaseRepoContro
 
            rev_end = repo.revisions.index(repo.revisions[(-1 * offset)])
 
        except IndexError:
 
            rev_end = repo.revisions.index(repo.revisions[-1])
 
        rev_start = max(0, rev_end - revcount)
 

	
 
        data = []
 
        rev_end += 1
 

	
 
        if repo.alias == 'git':
 
            for _ in xrange(rev_start, rev_end):
 
                vtx = [0, 1]
 
                edges = [[0, 0, 1]]
 
                data.append(['', vtx, edges])
 

	
0 comments (0 inline, 0 general)