Given an amendment_id, temporary filename of content, branch and auth_info

def write_amendment_from_tmpfile(self, amendment_id, tmpfi, parent_sha, auth_info, commit_msg=''):
        """Given an amendment_id, temporary filename of content, branch and auth_info
        """
        return self.write_doc_from_tmpfile(amendment_id,
                                           tmpfi,
                                           parent_sha,
                                           auth_info,
                                           commit_msg,
                                           doctype_display_name="amendment")