docs: def log(context):
      """See history"""
      context.obj.find_repo_type()
      if context.obj.vc_name == 'git':
          format = ("--pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset "
                    "%s %Cgreen(%cr) %C(bold blue)<%an>%Creset'")
          context.obj.call(['git', 'log', '--graph', format,
                            '--abbrev-commit', '--stat'])
      elif context.obj.vc_name == 'hg':
          template = (
              '"changeset:   {rev}:{node|short} {tags}\n'
              ' summary:     {desc|firstline|fill68|tabindent|tabindent}"')
          context.obj.call(['hg', 'log', '-G', '--template', template])