|ganesh||Tue Dec 12 06:29:45 UTC 2017|
Numbers a to f should we written lowercase, otherwise internal patch files and bundles become incompatible with older darcsen.
|gh||Fri Mar 30 17:40:47 UTC 2018|
Hashed repos were internally hashed with SHA1 for a short amount of time by unreleased Darcs versions before Darcs 2 (in 2008). We drop the ability to read them, so that the current code makes more sense. Now SHA1 only exists in Darcs to hash patch infos and bundles. The testsuite is adapted because two repos tarballs are hashed with SHA1.
|gh||Thu Mar 29 14:17:39 UTC 2018|
|gh||Thu Mar 29 22:46:05 UTC 2018|
We stopped writing in .darcs/cache two releases ago, and "darcs optimize cache" provided the way to migrate these cached files.
|gh||Wed Mar 28 18:08:06 UTC 2018|
also remove impossible.h, Darcs.Util.Bug, CPP extension when not used, and use Darcs.Prelude in more places.
|gh||Thu Mar 29 22:25:54 UTC 2018|
|gh||Thu Mar 29 21:02:00 UTC 2018|
The only remaining function, unsafeWithInternals, is used only in Darcs.Util.Hash so it has been moved into that module. The two C files src/fpstring.[ch] have been removed.
|bfr||Wed Mar 28 19:07:51 UTC 2018|
This is part of the program to get rid of using ByteString internals. The previous version of betweenLinesPS was buggy because it relied on implementation details of unlinesPS, see issue2573.
|bf||Wed Mar 28 15:56:56 UTC 2018|
|bfr||Wed Mar 28 15:47:39 UTC 2018|
This refactor does two things: First, it decouples the optimization that applies sequences of hunks to the same file in one go from the algorithm that applies a single hunk. Second, single hunk application is somewhat simplified and extensively documented. This is very subtle and highly optimized code that easily breaks.
This also moves breakAfter/BeforeNthNewline to D.P.Prim.V1.Commute. These functions are only used in this one place. They are undocumented and have subtle semantics, which makes them unsuitable for re-use.
|bf||Thu Feb 22 09:58:00 UTC 2018|
|bfr||Thu Feb 22 19:14:56 UTC 2018|
|gh||Thu Mar 29 14:47:33 UTC 2018|
|bf||Wed Mar 28 06:08:07 UTC 2018|
|bf||Tue Mar 27 18:22:46 UTC 2018|
|bf||Tue Mar 27 18:15:56 UTC 2018|
This is not a complete fix, as I am still seeing occasional failures ("harness/hstestdata.zip: openBinaryFile: does not exist").
|bfr||Wed Mar 28 17:55:44 UTC 2018|
We use our own temporary directory for each test to avoid spurious differences between outputs of 'darcs diff' due to temporary names being already taken.
|bfr||Wed Mar 28 17:18:40 UTC 2018|
Like with --darcs1 and --darcs2, we build this option into the path where the test is run.
|bfr||Wed Mar 28 17:17:07 UTC 2018|
This allows to run the network tests in parallel.
|bf||Sun Feb 25 23:42:39 UTC 2018|
|bf||Sun Feb 25 23:41:09 UTC 2018|
These functions are only used to read old-fashioned (non-hashed) repos. Concentrating them inside Darcs.Repository.Old (particularly makeFilename) makes it clear that they only exist for compatibility and not to be used elsewhere.
|bf||Sun Oct 22 10:23:24 UTC 2017|
|bf||Sun Feb 25 12:40:58 UTC 2018|
addToSpecificInventory is particularly dangerous, since it doesn't update the witnesses of the repo. Its only use is in addToTentativeInventory which is similarly dangerous and unfortunately is used (in convert import); it now has haddocks which warn about that.
|bf||Tue Mar 27 18:25:21 UTC 2018|
|gh||Thu Mar 29 14:26:15 UTC 2018|
Also, use catchIOError to catch IO errors when reading the file.
|bf||Wed Mar 28 06:12:59 UTC 2018|
This makes type signatures more helpful and avoids errors when hashes to different kinds of objects are involved. Currently limited to D.R.Hashed and D.R.Inventory and defined in the latter, but it really belongs in D.R.Cache or a separate module.
This is an extension and generalization of the ValidHash type introduced previously. ValidHash is now a type class so we can use the same get/mkValidHash functions for the different hash types.
|bf||Sat Mar 24 20:48:33 UTC 2018|
|gpiero||Tue Jan 9 17:05:03 UTC 2018|
This was fixed long ago by: patch 286b16f4edbcad477ac80340d45897462acb5114 Author: Ben Franksen <firstname.lastname@example.org>; Date: Sun Aug 13 13:29:53 CEST 2017 * resolve issue2160: wrong line numbers when appending empty line
|gpiero||Tue Jan 9 09:49:46 UTC 2018|
|gpiero||Mon Jan 8 19:12:29 UTC 2018|