[darcs-devel] darcs patch: Simplify writeHashFile function. (and 4 more)

Eric Kow eric.kow at gmail.com
Sun Nov 4 19:57:25 UTC 2007


I am fast-tracking these patches.  They will go in if they pass the tests and
nobody complains within the next couple of hours.  The very last patch might be
objectionable, a bit of a hack, but I think it's relatively harmless anyway.

Tue Oct 30 21:42:56 CET 2007  Eric Kow <eric.kow at gmail.com>
  * Simplify writeHashFile function.

Thu Nov  1 16:11:27 CET 2007  Eric Kow <eric.kow at gmail.com>
  * Close handle when done reading it lazily.

Thu Nov  1 17:14:37 CET 2007  Eric Kow <eric.kow at gmail.com>
  * [issue553] Do not attempt to write hash file if it already exists.
  
  On Windows, you may not overwrite an open file.  Darcs sometimes reads
  patch files lazily, which may leave them open when we are trying to
  write over them.   This side-steps the issue by not writing over the
  file if already exists.

Thu Nov  1 17:24:09 CET 2007  Eric Kow <eric.kow at gmail.com>
  * Check for potential hash collision in writeHashFile.

Sun Nov  4 20:28:49 CET 2007  Eric Kow <eric.kow at gmail.com>
  * [issue553] Allow for files in _darcs/inventories to be gzipped.
  
  This is not specifically related to issue553, but it fixes a regression
  introduced by the issue553 fix.

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


More information about the darcs-devel mailing list