[darcs-devel] [patch906] rm compression flags when possible since... (and 4 more)

Guillaume Hoffmann bugs at darcs.net
Sun Aug 19 00:45:57 UTC 2012


New submission from Guillaume Hoffmann <guillaumh at gmail.com>:

The first two patches are followups to the refactoring that replaced
UI flags by Repository flags and passed them explicitely to functions
of Darcs.Repository.*. The patches do not change the behaviour of darcs since
it is impossible to pass the "compression" flag to commands like get,
repair, dist, annotate. On a related note, it is never possible to
have uncompressed pristine.

The third patch removes an abstraction that has been useless since
darcs stopped handling Git repositories internally: the datatype
Repository (from Darcs.Repository.InternalTypes) contained a field
of type RepoType, which had only one constructor (now), DarcsRepository.
The patch removes RepoType and copies the fields of DarcsRepository
to Repository.

The last two patches are just cleanup.

5 patches for repository http://darcs.net:

Thu Aug 16 18:28:17 ART 2012  Guillaume Hoffmann <guillaumh at gmail.com>
  * rm compression flags when possible since pristine files are always compressed

Sat Aug 18 13:28:54 ART 2012  Guillaume Hoffmann <guillaumh at gmail.com>
  * darcs repair does not use compress flags, take advantage of this

Sat Aug 18 13:28:59 ART 2012  Guillaume Hoffmann <guillaumh at gmail.com>
  * remove now useless nesting of RepoType into Repository

Sat Aug 18 13:42:23 ART 2012  Guillaume Hoffmann <guillaumh at gmail.com>
  * make that no Darcs.Repository.* module import Darcs.Repository

Sat Aug 18 13:52:12 ART 2012  Guillaume Hoffmann <guillaumh at gmail.com>
  * remove senseless comment

----------
files: patch-preview.txt, rm-compression-flags-when-possible-since-pristine-files-are-always-compressed.dpatch, unnamed
messages: 15988
nosy: gh
status: needs-screening
title: rm compression flags when possible since... (and 4 more)

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/patch906>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-preview.txt
Type: text/x-darcs-patch
Size: 76189 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20120819/654a735c/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rm-compression-flags-when-possible-since-pristine-files-are-always-compressed.dpatch
Type: application/x-darcs-patch
Size: 99597 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20120819/654a735c/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unnamed
Type: application/octet-stream
Size: 5 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20120819/654a735c/attachment-0001.obj>


More information about the darcs-devel mailing list