def update_issue(self):
        do_upload = True
        if self.__rietveld_info.review_info.last_commit == self.__current_head:
            print 'You have made no commits since your last export.'
            print 'Exporting now will upload an empty patch, but may'
            print 'update your metadata.'
            answer = raw_input('Would like to upload to Rietveld?(y/N) ')
            do_upload = (answer.strip() == 'y')

        # TODO(dhermes): Use different mechanism than upload if there are
        #                no changes.
        if do_upload:
            self.__upload_dot_py(issue=self.__rietveld_info.review_info.issue)
        self.state = self.UPDATING_METADATA
        self.advance()
Updates an existing issue.
dataset/ETHPy150Open googlearchive/git-rv/export.py/ExportAction.update_issue