code: def log(self, n=None, template=None, **kwargs):
          
          cmd = ['svn', 'log']
          if n:
              cmd.append('-l%d' % n)
          cmd.extend(
              (('--%s=%s' % (k, v)) for (k, v) in kwargs.items())
          )
          return self.sh(cmd, shell=False)
docs: Run the repository log command
  
          Returns:
              str: output of log command (``svn log -l <n> <--kwarg=value>``)