if should_append_data is True and len(output):
        content_string += 'setting PYCONIFG_HG_BRANCH_NAME {\n'\
                          '    for * {\n'\
                          '        '+branch_name+'\n'\
                          '    }\n'\