equal
deleted
inserted
replaced
2256 > |
2256 > |
2257 > def reposetup(ui, repo): |
2257 > def reposetup(ui, repo): |
2258 > foo = {'foo': repo[0].node()} |
2258 > foo = {'foo': repo[0].node()} |
2259 > names = lambda r: foo.keys() |
2259 > names = lambda r: foo.keys() |
2260 > namemap = lambda r, name: foo.get(name) |
2260 > namemap = lambda r, name: foo.get(name) |
2261 > nodemap = lambda r, node: [name for name, n in foo.iteritems() |
2261 > nodemap = lambda r, node: [name for name, n in foo.items() |
2262 > if n == node] |
2262 > if n == node] |
2263 > ns = namespaces.namespace( |
2263 > ns = namespaces.namespace( |
2264 > "bars", templatename="bar", logname="barlog", |
2264 > "bars", templatename="bar", logname="barlog", |
2265 > colorname="barcolor", listnames=names, namemap=namemap, |
2265 > colorname="barcolor", listnames=names, namemap=namemap, |
2266 > nodemap=nodemap) |
2266 > nodemap=nodemap) |