def _defaultkwmaps(ui):
    """Returns default keywordmaps according to keywordset configuration."""
    templates = {b'Revision': b'{node|short}', b'Author': b'{author|user}'}
    kwsets = {b'Date': b'{date|utcdate}', b'RCSfile': b'{file|basename},v',
        b'RCSFile': b'{file|basename},v', b'Source': b'{root}/{file},v',
        b'Id':
        b'{file|basename},v {node|short} {date|utcdate} {author|user}',
        b'Header': b'{root}/{file},v {node|short} {date|utcdate} {author|user}'
        }, {b'Date': b'{date|svnisodate}', b'Id':
        b'{file|basename},v {node|short} {date|svnutcdate} {author|user}',
        b'LastChangedRevision': b'{node|short}', b'LastChangedBy':
        b'{author|user}', b'LastChangedDate': b'{date|svnisodate}'}
    templates.update(kwsets[ui.configbool(b'keywordset', b'svn')])
    return templates
