#NEWLINE# def prepend( repo , review_sha1 , name , landed_sha1 ) : #NEWLINE# #INDENT# 'Prepend the specified \'sha1\' and \'name\' to the landinglog.\n\n    If the list is longer than the global max then truncate it.\n\n    :repo: a callable supporting git commands, e.g. repo("status")\n    :sha1: string of the sha1 to prepend\n    :name: string name of the ref to prepend\n    :returns: None\n\n    ' #NEWLINE# log = get_log ( repo ) #NEWLINE# log . insert ( 0 , LogItem ( review_sha1 , name , landed_sha1 ) ) #NEWLINE# write_log ( repo , log )