[darcs-users] lots of changes

David Roundy droundy at abridgegame.org
Sun Apr 13 23:14:08 UTC 2003


I've pulled a bunch of changes to the abridgegame repository.  This would
be 0.9.6, except (a) I'm tired and (b) some of these changes are a bit
scary, so I'd like to see them tested a bit before tagging, building the
debs and announcing the new release on freshmeat.

The biggest thing is that I've switched to PackedStrings for storing file
lines, which should give very large memory savings.  I haven't tested it
very well to verify this--if anyone can figure out how to get numbers, that
would be great.  This change also touched massive amounts of previously
stable code, and introduced on (now fixed) bug (mistakenly using linesPS,
for the haskellers present) that corrupted my devel repo and caused all
sorts of trouble tracking down.  To be extra careful, you can back up (by
using cp -a _darcs _darcs_backup) before playing with these changes.

I also added a --no-test option to the check command, which should be
useful for easy benchmarking of darcs' parsing and file IO speed, as darcs
check spends basically all its time reading, parsing and applying patches.

I also made the command completion more responsive by eliminating some
extraneous file IO when darcs checks to see if it's in a repository.  And I
included a patch by Aaron Denny which makes the completion for add and
remove only include files that are not in and in the repository already.

I also implemented the suggestion the user be allowed to view patches
before pulling them...

For more details, you can look at the repo itself:

http://www.abridgegame.org/cgi-bin/darcs?darcs**

Time to go do something (anything!) not involving my computer...
-- 
David Roundy
http://www.abridgegame.org




More information about the darcs-users mailing list