darcs

Patch 2320 group --external-merge with the other conflict handlin...

Title group --external-merge with the other conflict handlin...
Superseder Nosy List bfrk
Related Issues
Status accepted Assigned To
Milestone

Created on 2023-06-25.10:52:56 by bfrk, last changed 2023-07-29.11:27:22 by ganesh.

Files
File name Status Uploaded Type Edit Remove
group-__external_merge-with-the-other-conflict-handling-options.dpatch bfrk, 2023-07-11.07:47:13 application/x-darcs-patch
patch-preview.txt bfrk, 2023-07-11.07:47:13 text/x-darcs-patch
See mailing list archives for discussion on individual patches.
Messages
msg23417 (view) Author: bfrk Date: 2023-06-25.10:52:55
As suggested in a comment to patch2233.

1 patch for repository http://darcs.net/screened:

patch 6795d973c28d5194908b8e4e621b588ba407df6d
Author: Ben Franksen <ben.franksen@online.de>
Date:   Sun Jun 25 12:35:08 CEST 2023
  * group --external-merge with the other conflict handling options

  This also slightly refactors the internal representation of these options.
Attachments
msg23451 (view) Author: bfrk Date: 2023-06-27.21:12:10
Let me drop a hint here. Whenever you see a patch that remains in 
status "needs-screening" for more than a day, then this often means: I 
am not sure if this is really a good idea, please take a look and 
offer some feedback.
msg23452 (view) Author: ganesh Date: 2023-06-27.21:26:05
After glancing at the code:
 - I didn't see any red flags for the idea
 - It looks like it simplifies some logic, particularly the case 
statement at `hunk ./src/Darcs/Repository/Merge.hs 281`

But I'd have to review it properly to express any stronger opinions.
msg23535 (view) Author: bfrk Date: 2023-07-11.07:47:13
Slightly rebased and now screened.

1 patch for repository http://darcs.net/screened:

patch 1248a6c005afd13e69da36941dfc7bbb82bf7ab7
Author: Ben Franksen <ben.franksen@online.de>
Date:   Sun Jun 25 12:35:08 CEST 2023
  * group --external-merge with the other conflict handling options

  This also slightly refactors the internal representation of these options.
Attachments
msg23608 (view) Author: ganesh Date: 2023-07-16.23:15:47
Looks good.

>  NoAllowConflicts -> error "impossible" -- was handled in 
announceConflicts

There's some scope to remove this case by having announceConflicts
return Maybe ResolveConflicts instead of Bool, but I'm not sure
it's worth it.

(The old code just treated this impossible case the same as one
of the possible cases, so this code is clearer as it's more explicit).
History
Date User Action Args
2023-06-25 10:52:56bfrkcreate
2023-06-27 21:12:11bfrksetmessages: + msg23451
2023-06-27 21:26:05ganeshsetmessages: + msg23452
2023-07-11 07:47:14bfrksetfiles: + patch-preview.txt, group-__external_merge-with-the-other-conflict-handling-options.dpatch
messages: + msg23535
2023-07-11 07:47:48bfrksetfiles: - group-__external_merge-with-the-other-conflict-handling-options.dpatch
2023-07-11 07:47:54bfrksetfiles: - patch-preview.txt
2023-07-11 07:48:07bfrksetstatus: needs-screening -> needs-review
2023-07-16 23:15:47ganeshsetstatus: needs-review -> accepted-pending-tests
messages: + msg23608
2023-07-29 11:27:22ganeshsetstatus: accepted-pending-tests -> accepted