#NEWLINE# def update_from_pending_change( self , commit_id , changeset ) : #NEWLINE# #INDENT# 'Updates the data from a server-side pending changeset.\n\n        This will fetch the metadata from the server and update the fields on\n        the review request.\n        ' #NEWLINE# if ( not changeset ) : #NEWLINE# #INDENT# raise InvalidChangeNumberError ( ) #NEWLINE# #UNINDENT# self . commit = commit_id #NEWLINE# description = changeset . description #NEWLINE# testing_done = changeset . testing_done #NEWLINE# self . summary = changeset . summary #NEWLINE# self . description = description #NEWLINE# self . description_rich_text = False #NEWLINE# if testing_done : #NEWLINE# #INDENT# self . testing_done = testing_done #NEWLINE# self . testing_done_rich_text = False #NEWLINE# #UNINDENT# if changeset . branch : #NEWLINE# #INDENT# self . branch = changeset . branch #NEWLINE# #UNINDENT# if changeset . bugs_closed : #NEWLINE# #INDENT# self . bugs_closed = ',' . join ( commit_id . bugs_closed )