[darcs-devel] [patch2006] clean up the patch name TAG and UNDO prefix mess for good

Ganesh Sittampalam bugs at darcs.net
Sun Mar 1 20:43:15 UTC 2020


Ganesh Sittampalam <ganesh at earth.li> added the comment:

I think the loop in the shrinker may be introduced by your
refactor, but I'm not certain. I'll go into more detail
in the existing thread.

6 patches for repository darcs-unstable at darcs.net:screened:

patch ce46362f2f1535553c0dc5ed8c7952236c275090
Author: Ganesh Sittampalam <ganesh at earth.li>
Date:   Sun Mar  1 17:38:13 GMT 2020
  * introduce empty

patch b8f51b8d185dc26ae1e4e7e546d13e3cf26fd358
Author: Ganesh Sittampalam <ganesh at earth.li>
Date:   Sun Mar  1 20:00:36 GMT 2020
  * tests: bugfix for shrinking log lines
  
  The way we unpack the lines should be the inverse of
  the way rawPatchInfo packs them.

patch ddea3326cdff03f59ba2e9c083e33f111902c181
Author: Ganesh Sittampalam <ganesh at earth.li>
Date:   Sun Mar  1 20:17:48 GMT 2020
  * WIP: introduce shrinking tests

patch 78297bfdb396eefe32e6b3ea603bd011c263ada0
Author: Ben Franksen <ben.franksen at online.de>
Date:   Fri Feb 28 16:13:09 GMT 2020
  * clean up the patch name TAG and UNDO prefix mess for good
  
  This rolls back most of patch 74e5d22381090db9e08f in favour of a safer and
  more principled solution. The way tags are distinguished from regular
  patches via a "TAG " prefix of the patch name is now fully hidden inside
  Darcs.Patch.Info and treated as an implementation detail. To facilitate this
  without too much disruption, we add a data type for patch names, forcing
  client code to be explicit about whether they create a tag or a regular
  patch. This uncovered a few bugs in the test suite where date and name were
  accidentally swapped.
  
  The "UNDO: " prefix that was traditionally prepended to the patch name for
  patches with the _piLegacyIsInverted flag is now treated more uniformly, so
  when such a patch gets amended without replacing the patch name, the prefix
  will be retained as part of the patch name.

patch 27932c82bb914b528ffd1c71e413d9e3d3b81dd5
Author: Ganesh Sittampalam <ganesh at earth.li>
Date:   Sun Mar  1 12:56:53 GMT 2020
  * rollback metadata tests

patch f7a6ff6f203bc6d1e01d73acf85f7094188efe64
Author: Ganesh Sittampalam <ganesh at earth.li>
Date:   Sun Mar  1 20:20:04 GMT 2020
  * resolve conflicts

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/patch2006>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-preview.txt
Type: text/x-darcs-patch
Size: 28127 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20200301/d15ee079/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: introduce-empty.dpatch
Type: application/x-darcs-patch
Size: 59395 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20200301/d15ee079/attachment-0003.bin>
-------------- next part --------------
.





More information about the darcs-devel mailing list