equal
deleted
inserted
replaced
391 # apparently, repo could be a string that is the favicon? |
391 # apparently, repo could be a string that is the favicon? |
392 repo = mapping.get('repo', '') |
392 repo = mapping.get('repo', '') |
393 if isinstance(repo, str): |
393 if isinstance(repo, str): |
394 return thing |
394 return thing |
395 |
395 |
396 label = templater.stringify(args[0][0](context, mapping, args[0][1])) |
396 label = templater._evalifliteral(args[0], context, mapping) |
397 label = templater.runtemplate(context, mapping, |
|
398 templater.compiletemplate(label, context)) |
|
399 |
397 |
400 thing = templater.stringify(thing) |
398 thing = templater.stringify(thing) |
401 label = templater.stringify(label) |
399 label = templater.stringify(label) |
402 |
400 |
403 return repo.ui.label(thing, label) |
401 return repo.ui.label(thing, label) |