Patch 2147 eliminate Darcs.Repository.HashedIO

Title eliminate Darcs.Repository.HashedIO
Superseder Nosy List bf
Related Issues
Status needs-review Assigned To

Created on 2021-01-10.15:41:57 by bf, last changed 2021-01-10.15:42:57 by bf.

File name Status Uploaded Type Edit Remove
patch-preview.txt bf, 2021-01-10.15:41:56 text/x-darcs-patch
simplify-createpristinedirectorytree-by-reading-and-writing-trees.dpatch bf, 2021-01-10.15:41:56 application/x-darcs-patch
unnamed bf, 2021-01-10.15:41:56 text/plain
See mailing list archives for discussion on individual patches.
msg22619 (view) Author: bf Date: 2021-01-10.15:41:56
As the subject says, this bundle gets us rid of the largely obsolete
Darcs.Repository.HashedIO module. Its functionality mostly duplicates what
we have in Darcs.Util.Tree.Hashed/Monad, so this saves lots of code to

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

patch df6118d74508b6b387916dcc7101507f0b07f376
Author: Ben Franksen <ben.franksen@online.de>
Date:   Tue Nov 10 15:40:42 CET 2020
  * simplify createPristineDirectoryTree by reading and writing trees
  This gets rid of yet another function exported from D.R.HashedIO, namely

patch 41fdaeb64e3000ac322072e7b90ebfdaaa2667ac
Author: Ben Franksen <ben.franksen@online.de>
Date:   Tue Nov 10 15:34:31 CET 2020
  * dist command: simplify getting paths and contents of pristine for --zip
  This gets us rid of yet another function exported from D.R.HashedIO, namely
  pathsAndContents. The re-implementation of that functionality using the
  existing tree functions is entirely straight-forward.

patch 3956dfcd4d7e7836757043fc472de98fa5b114ef
Author: Ben Franksen <ben.franksen@online.de>
Date:   Tue Nov 10 13:44:54 CET 2020
  * tone down excessive debug output from D.R.HashedIO.readHashFile

patch 97cd8cfd19b20d85608c025c9f957232178abe2e
Author: Ben Franksen <ben.franksen@online.de>
Date:   Tue Nov 10 16:16:58 CET 2020
  * move cleanPristineDir to D.R.Pristine
  This finally allows us to completely scrap D.R.HashedIO. Yay!
Date User Action Args
2021-01-10 15:42:00bfcreate
2021-01-10 15:42:57bfsetstatus: needs-screening -> needs-review