#NEWLINE# def list( self , project , branch = 'master' , file = None , page = 1 ) : #NEWLINE# #INDENT# 'List commits on a project.\n\n        .. warning::\n           Not all projects use ``master`` as their default branch, you can\n           check the value of the ``Repo(project).master_branch`` attribute to\n           determine the default branch of a given repository.\n\n        :param str project: project name\n        :param str branch: branch name, or ``master`` if not given\n        :param str file: optional file filter\n        :param int page: optional page number\n\n        ' #NEWLINE# return self . get_values ( 'list' , project , branch , file , filter = 'commits' , datatype = Commit , page = page )