[darcs-devel] darcs patch: Add tests specifically for applying patc... (and 3 more)

David Roundy droundy at darcs.net
Sat Apr 21 15:47:26 PDT 2007


Hi Tommy,

Here's the next take on the stuff for Issue434.

David

Thu Apr 19 13:00:48 PDT 2007  Eric Kow <eric.kow at loria.fr>
  * Add tests specifically for applying patches to the working dir (issue434).

Thu Apr 19 13:05:58 PDT 2007  Eric Kow <eric.kow at loria.fr>
  * Apply patches 'tolerantly' to the working directory (issue434).
  
  If there are any exceptions applying a patch to the working directory, catch
  the exceptions, emit a pretty warning and move on.  This is meant to ease
  the scenario where the user is pulling in a large patch, but there is a
  permissions error (or something similar) in the working directory.
  
  Without this patch, darcs typically dies and leaves the working directory in
  a 'corrupted' state.  The corruption is relatively minor in that patches and
  pristine are perfectly fine.  The problem is that the user has large portions
  of the patch still upapplied and when he does a darcs whatsnew, gets a mass
  of seemingly incomprehensible goop (the inverse of the unapplied changes)
  mixed in with his changes.  We reduce the incomprehensible goop effect by
  catching exceptions so that darcs can continue to apply as much of the patch
  as it can.

Fri Apr 20 17:19:33 PDT 2007  David Roundy <droundy at darcs.net>
  * reenable --quiet mode in apply.

Sat Apr 21 15:45:51 PDT 2007  David Roundy <droundy at darcs.net>
  * revamp TolerantIO to be simpler.

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


More information about the darcs-devel mailing list