New submission from Ben Franksen <[email protected]>:

2 patches for repository http://darcs.net/screened:

patch ba6a1163a3b4d663960ef47c3531d81c350c6387
Author: Ben Franksen <[email protected]>
Date:   Thu Nov 28 14:24:32 CET 2024
  * check/repair: display patch info of repaired patches

patch 3d731103a39de5dff58a61db93cc1e6bac0ead02
Author: Ben Franksen <[email protected]>
Date:   Thu Nov 28 14:26:55 CET 2024
  * check/repair: avoid newlines in progress messages

  It doesn't make sense to output the complete patch info in a progress
  message and our progress machinery can't properly handle that anyway.

----------
files: check_repair_-display-patch-info-of-repaired-patches.dpatch, 
patch-preview.txt
messages: 24105
nosy: bfrk
status: needs-screening
title: check/repair: display patch info of repa... (and 1 more)

__________________________________
Darcs bug tracker <[email protected]>
<https://bugs.darcs.net/patch2428>
__________________________________
[check/repair: display patch info of repaired patches
Ben Franksen <[email protected]>**20241128132432
 Ignore-this: 63b1df0f1639942c81a294439898d999e775f105e75a439f1918be1ba0c71806d2f0b2d6ef914872
] hunk ./src/Darcs/Repository/Repair.hs 57
-import Darcs.Util.Printer ( putDocLn, text, renderString )
+import Darcs.Util.Printer ( putDocLn, text, renderString, ($$) )
hunk ./src/Darcs/Repository/Repair.hs 102
-            putStrLn e
+            putStrLn $ renderString $ (displayPatchInfo $ info p) $$ text e

[check/repair: avoid newlines in progress messages
Ben Franksen <[email protected]>**20241128132655
 Ignore-this: 9518036436c726e6d948444ec7f363d4d1efb9e73db1c88f576628127950acd7427330c6dbaaf488
 
 It doesn't make sense to output the complete patch info in a progress
 message and our progress machinery can't properly handle that anyway.
] hunk ./src/Darcs/Repository/Repair.hs 31
-import Darcs.Patch.Info ( displayPatchInfo )
+import Darcs.Patch.Info ( displayPatchInfo, makePatchname )
hunk ./src/Darcs/Repository/Repair.hs 96
-      liftIO $ finishedOneIO k $ renderString $ displayPatchInfo $ info p
+      liftIO $ finishedOneIO k $ show $ makePatchname $ info p

Attachment: check_repair_-display-patch-info-of-repaired-patches.dpatch
Description: application/darcs-patch

_______________________________________________
darcs-devel mailing list
[email protected]
https://lists.darcs.net/mailman/listinfo/darcs-devel

Reply via email to