-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Plugin Version
0.7.1
Proposed functionality
Right now, the handling of conflicts on branches and the preventing of merge/sync is done directly via forms/views, so the API is not protected against this (a sync or merge dry-run gives no indication of any conflicts)
This functionality should also be ported to the API, so, as shown on the GUI (via forms/views) if there is a conflict on the branch, it should at least give an error message as response on the job instead of just a completed with no errros.
Right now, the API does not mirror the GUI functionality when conflicts are present. This should be a fairly trivial implementation, by checking the conflicts table and bring back an error if the table has rows, just as is done on the form:
| class BranchActionForm(forms.Form): |
Use case
Merging or Synching branches with conflicts via RestAPI
External dependencies
No response