[darcs-devel] darcs patch: clean up unrevert and pending handling. (and 1 more)

David Roundy droundy at darcs.net
Mon Sep 18 10:46:43 PDT 2006


Hi all,

Here's a couple of patches, the first of which refactors the handling of
unrevert and pending, making the commands themselves considerably simpler.
The second starts implementing a hashed inventory format.  It's not done
yet, but should be safe to apply to darcs-unstable, and does a bit more
rearranging of code even in the normal case.  In particular, the hash
inventory refactors the code that I expect is slowing down darcs-unstable,
which is the handling of _darcs/tentative_pristine.  This is code that any
number of darcs hackers could improve, simply by storing a list of
filenames in _darcs/tentative_pristine (in add_to_tentative_pristine), and
then reading them in finalize_pristine_changes.  This is some rather sloppy
(but sloppily and obviously correct) code that I wrote, which is highly
non-optimal.

David

Sun Sep 17 14:41:36 PDT 2006  David Roundy <droundy at darcs.net>
  * clean up unrevert and pending handling.

Mon Sep 18 10:39:04 PDT 2006  David Roundy <droundy at darcs.net>
  * add a bit of hashed inventory code.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 63940 bytes
Desc: A darcs patch for your repository!
Url : http://lists.osuosl.org/pipermail/darcs-devel/attachments/20060918/5c9fca02/attachment.bin


More information about the darcs-devel mailing list