mercurial/templatefuncs.py
changeset 37260 8e57c3b0dce4
parent 37244 3685a79ea51b
child 37272 7d3bc1d4e871
equal deleted inserted replaced
37259:d29f6fbd1181 37260:8e57c3b0dce4
   173     """Return the author, updated according to the value
   173     """Return the author, updated according to the value
   174     set in the .mailmap file"""
   174     set in the .mailmap file"""
   175     if len(args) != 1:
   175     if len(args) != 1:
   176         raise error.ParseError(_("mailmap expects one argument"))
   176         raise error.ParseError(_("mailmap expects one argument"))
   177 
   177 
   178     author = evalfuncarg(context, mapping, args[0])
   178     author = evalstring(context, mapping, args[0])
   179 
   179 
   180     cache = context.resource(mapping, 'cache')
   180     cache = context.resource(mapping, 'cache')
   181     repo = context.resource(mapping, 'repo')
   181     repo = context.resource(mapping, 'repo')
   182 
   182 
   183     if 'mailmap' not in cache:
   183     if 'mailmap' not in cache: