Patch 26 Rewrite "darcs diff" help.

Title Rewrite "darcs diff" help.
Superseder Nosy List twb
Related Issues
Status accepted Assigned To twb

Created on 2009-10-31.12:32:54 by twb, last changed 2011-03-14.12:07:18 by gh.

File name Status Uploaded Type Edit Remove
rewrite-_darcs-diff_-help_.dpatch twb, 2009-10-31.12:32:54 text/x-darcs-patch
rewrite-darcs-diff-help.dpatch gh, 2011-03-04.14:41:03 application/x-darcs-patch
unnamed twb, 2009-10-31.12:32:54 text/plain
unnamed gh, 2011-03-04.14:41:03 text/x-darcs-patch
unnamed gh, 2011-03-04.14:41:03
See mailing list archives for discussion on individual patches.
msg9110 (view) Author: twb Date: 2009-10-31.12:32:54
Eric Kow <kowey@darcs.net> writes:

> On Sat, Oct 03, 2009 at 18:40:22 +1000, Trent W.Buck wrote:
>> Sat Oct  3 18:21:43 EST 2009  Trent W. Buck <trentbuck@gmail.com>
>>   * Rewrite "darcs diff" help.
> I'm not sure what to do with this patch, so I await your command
> Rewrite "darcs diff" help.
> --------------------------
>> + "The `darcs diff' command compares two versions of the working tree of\n" ++
>> + "the current repository.  Without options, the pristine (recorded) and\n" ++
>> + "unrecorded working trees are compared.  This is equivalent to, but\n" ++
>> + "slower than, the `darcs whatsnew' command, because `darcs diff' relies\n" ++
>> + "on the external diff(1) utility.  As with `darcs whatsnew', if you\n" ++
> Two comments about the equivalence between darcs diff and whatsnew.
> 1. darcs whatsnew provides higher-level information (mv foo bar; replace
>    x y; changepref z w)
> 2. presumably what makes it slower is not that we are outsourcing to
>    diff (1), but that in order to do so we first have to make two
>    copies of the pristine cache on disk and unapply patches to
>    both of them
> Looks good to me otherwise.

Per the above, this should probably go straight into "needs amendment" status.
msg13769 (view) Author: gh Date: 2011-03-04.14:41:03
I'm submitting a new patch since the elimination of literate haskell
happened in the meantime, and took in account Eric's remark.
Screening it.

1 patch for repository http://darcs.net/screened:

Fri Mar  4 15:20:30 CET 2011  Guillaume Hoffmann <guillaumh@gmail.com>
  * Rewrite darcs diff help
  Based on an initial patch by Trent W. Buck and Eric Kow's input.
msg13822 (view) Author: gh Date: 2011-03-14.12:07:18
Date User Action Args
2009-10-31 12:32:55twbcreate
2009-10-31 12:58:05twbsetstatus: needs-review -> followup-requested
2009-10-31 17:58:57koweysetassignedto: twb
2011-03-04 14:41:03ghsetfiles: + unnamed, rewrite-darcs-diff-help.dpatch, unnamed
messages: + msg13769
2011-03-04 14:42:13ghsetstatus: followup-requested -> needs-review
2011-03-14 12:07:18ghsetstatus: needs-review -> accepted
messages: + msg13822