2 ms·
> Hmm...so if something did need to happen, pijul would also reject and I would have to pull, do the local edits until everything is consistent and then push, j
by davorak 3y ago
> Hmm...so if something did need to happen, pijul would also reject and I would have to pull, do the local edits until everything is consistent and then push, just like git.
Unlike git, pijul has first class conflicts, pijul unlike git does not reject in this example.
My knowledge is limited, but from my testing that means the conflict exists in the history, at least if your merge style allows for that(similar to how in git you can choose to always rebase or use merge commits).
The conflict is resolved with a new patch.
I did not spot much in the documentation with a quick search but on the man page there is a small blurb on first class conflicts
> First-class conflicts
In Pijul, conflicts are not modelled as a "failure to merge", but rather as the standard case. Specifically, conflicts happen between two changes, and are solved by one change. The resolution change solves the conflict between the same two changes, no matter if other changes have been made concurrently. Once solved, conflicts never come back.
- from https://pijul.org/ https://pijul.org/