Changeset - eb64d7835f22
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 14 years ago 2012-05-03 01:21:34
marcin@python-works.com
backout revision e5abb9efaf2c
1 file changed with 1 insertions and 6 deletions:
0 comments (0 inline, 0 general)
rhodecode/controllers/changelog.py
Show inline comments
 
@@ -123,18 +123,13 @@ class ChangelogController(BaseRepoContro
 
                vtx = [0, 1]
 
                edges = [[0, 0, 1]]
 
                data.append(['', vtx, edges])
 

	
 
        elif repo.alias == 'hg':
 
            dag = graphmod.dagwalker(repo._repo, revs)
 
            try:
 
                c.dag = graphmod.colored(dag)
 
            except:
 
                #HG 2.2+
 
                c.dag = graphmod.colored(dag, repo._repo)
 

	
 
            c.dag = graphmod.colored(dag, repo._repo)
 
            for (id, type, ctx, vtx, edges) in c.dag:
 
                if type != graphmod.CHANGESET:
 
                    continue
 
                data.append(['', vtx, edges])
 

	
 
        c.jsdata = json.dumps(data)
0 comments (0 inline, 0 general)