equal
deleted
inserted
replaced
31 encoding, |
31 encoding, |
32 error, |
32 error, |
33 graphmod, |
33 graphmod, |
34 revset, |
34 revset, |
35 scmutil, |
35 scmutil, |
|
36 smartset, |
36 templatefilters, |
37 templatefilters, |
37 templater, |
38 templater, |
38 util, |
39 util, |
39 ) |
40 ) |
40 |
41 |
1146 break |
1147 break |
1147 |
1148 |
1148 # We have to feed a baseset to dagwalker as it is expecting smartset |
1149 # We have to feed a baseset to dagwalker as it is expecting smartset |
1149 # object. This does not have a big impact on hgweb performance itself |
1150 # object. This does not have a big impact on hgweb performance itself |
1150 # since hgweb graphing code is not itself lazy yet. |
1151 # since hgweb graphing code is not itself lazy yet. |
1151 dag = graphmod.dagwalker(web.repo, revset.baseset(revs)) |
1152 dag = graphmod.dagwalker(web.repo, smartset.baseset(revs)) |
1152 # As we said one line above... not lazy. |
1153 # As we said one line above... not lazy. |
1153 tree = list(graphmod.colored(dag, web.repo)) |
1154 tree = list(graphmod.colored(dag, web.repo)) |
1154 |
1155 |
1155 def getcolumns(tree): |
1156 def getcolumns(tree): |
1156 cols = 0 |
1157 cols = 0 |