tests/test-log.t
changeset 36327 58c1368ab629
parent 35712 a1a5c3842b6f
child 36669 80d7fb6c2dec
equal deleted inserted replaced
36326:a2cbff474821 36327:58c1368ab629
  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)