Show More
@@ -126,12 +126,7 b' class ChangelogController(BaseRepoContro' | |||||
126 |
|
126 | |||
127 | elif repo.alias == 'hg': |
|
127 | elif repo.alias == 'hg': | |
128 | dag = graphmod.dagwalker(repo._repo, revs) |
|
128 | dag = graphmod.dagwalker(repo._repo, revs) | |
129 | try: |
|
|||
130 | c.dag = graphmod.colored(dag) |
|
|||
131 | except: |
|
|||
132 | #HG 2.2+ |
|
|||
133 |
|
|
129 | c.dag = graphmod.colored(dag, repo._repo) | |
134 |
|
||||
135 | for (id, type, ctx, vtx, edges) in c.dag: |
|
130 | for (id, type, ctx, vtx, edges) in c.dag: | |
136 | if type != graphmod.CHANGESET: |
|
131 | if type != graphmod.CHANGESET: | |
137 | continue |
|
132 | continue |
General Comments 0
You need to be logged in to leave comments.
Login now