Refactor create_gitea_pr() in common_test_utils.py to leverage the 'new_branch' parameter in the Gitea 'diffpatch' API call. This allows for automatic creation of the target branch while applying the diff, eliminating the need for explicit branch creation using the branches endpoint. This also fixed strange behavior when diffpatch damaged history of precreated branch
24 KiB
24 KiB