darcs

Patch 347 Accept issue1290: darcs diff --index sup... (and 5 more)

Title Accept issue1290: darcs diff --index sup... (and 5 more)
Superseder Nosy List kowey, mornfall
Related Issues
Status accepted Assigned To
Milestone

Created on 2010-08-13.17:56:09 by kowey, last changed 2011-05-10.19:36:36 by darcswatch. Tracked on DarcsWatch.

Files
File name Status Uploaded Type Edit Remove
accept-issue1290_-darcs-diff-__index-support_.dpatch kowey, 2010-08-13.17:56:08 text/x-darcs-patch
accept-issue1290_-darcs-diff-__index-support_.dpatch kowey, 2010-08-13.18:09:47 text/x-darcs-patch
unnamed kowey, 2010-08-13.17:56:08
unnamed kowey, 2010-08-13.18:09:47
See mailing list archives for discussion on individual patches.
Messages
msg12154 (view) Author: kowey Date: 2010-08-13.17:56:08
Hi Reinier,

6 patches for repository http://darcs.net/releases/branch-2.5:

Petr thinks that issue1290 does not belong in the Darcs 2.5
release because it's so late in the release cycle.  While I
find it a bit regrettable, I'm inclined to agree to him :-/

What do you think?

Thu Aug  5 13:45:59 BST 2010  Eric Kow <kowey@darcs.net>
  * Accept issue1290: darcs diff --index support.

Fri Aug 13 18:50:23 BST 2010  Eric Kow <kowey@darcs.net>
  * Fix issue1290 test.
  I forgot that we count backwards.  I also try to introduce some asymmetry here
  to make it a bit clearer we're not accidentally passing.

Fri Aug 13 18:52:57 BST 2010  Eric Kow <kowey@darcs.net>
  * Resolve issue1290: support diff --index.
  
  While the matching code knew how to identify the context and
  fluff patches matchFirstPatchset and matchSecondPatchset),
  it did not actually know how to unapply them (getFirstMatch
  and getPartialSecondMatch).

Fri Aug 13 17:47:59 BST 2010  Eric Kow <kowey@darcs.net>
  * Move Darcs.Match module-specific haddock to module level.
  Also correct last_match to secondMatch.

Fri Aug 13 18:10:53 BST 2010  Eric Kow <kowey@darcs.net>
  * Improve module-level documentation for Darcs.Match.

Fri Aug 13 18:22:44 BST 2010  Eric Kow <kowey@darcs.net>
  * Reframe Darcs.Match.matchFirstPatchset documentation.
  This says the same thing but hopefully makes it easier to grasp.


___________________________________________________________
This email has been scanned by MessageLabs' Email Security
System on behalf of the University of Brighton.
For more information see http://www.brighton.ac.uk/is/spam/
___________________________________________________________
Attachments
msg12155 (view) Author: kowey Date: 2010-08-13.17:59:05
On Fri, Aug 13, 2010 at 17:56:09 +0000, Eric Kow wrote:
> Fri Aug 13 18:10:53 BST 2010  Eric Kow <kowey@darcs.net>
>   * Improve module-level documentation for Darcs.Match.
> 
> Fri Aug 13 18:22:44 BST 2010  Eric Kow <kowey@darcs.net>
>   * Reframe Darcs.Match.matchFirstPatchset documentation.
>   This says the same thing but hopefully makes it easier to grasp.

Note, while I wrote these haddocks with a very confident tone,
I'm not actually sure I've got it right.  Be careful!

I'm particularly prone to polarity bugs, the kind where you
mix up left/right, true/false, etc...

-- 
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
For a faster response, please try +44 (0)1273 64 2905.
msg12156 (view) Author: mornfall Date: 2010-08-13.18:02:19
Hi,

Eric Kow <bugs@darcs.net> writes:
> Petr thinks that issue1290 does not belong in the Darcs 2.5
> release because it's so late in the release cycle.  While I
> find it a bit regrettable, I'm inclined to agree to him :-/
as a consolation, I have reviewed the patch. Please lift the duplicated
unpullLastN to a common place (unless I missed some difference, in which
case it may be better to rename them) and I'll apply (to HEAD, pending
tests).

Yours,
   Petr.
msg12157 (view) Author: kowey Date: 2010-08-13.18:09:47
Same as before but with 'Resolve issue1290' amended as requested.

6 patches for repository http://darcs.net/releases/branch-2.5:

Thu Aug  5 13:45:59 BST 2010  Eric Kow <kowey@darcs.net>
  * Accept issue1290: darcs diff --index support.

Fri Aug 13 18:50:23 BST 2010  Eric Kow <kowey@darcs.net>
  * Fix issue1290 test.
  I forgot that we count backwards.  I also try to introduce some asymmetry here
  to make it a bit clearer we're not accidentally passing.

Fri Aug 13 19:10:25 BST 2010  Eric Kow <kowey@darcs.net>
  * Resolve issue1290: support diff --index.
  
  While the matching code knew how to identify the context and
  fluff patches matchFirstPatchset and matchSecondPatchset),
  it did not actually know how to unapply them (getFirstMatch
  and getPartialSecondMatch).

Fri Aug 13 17:47:59 BST 2010  Eric Kow <kowey@darcs.net>
  * Move Darcs.Match module-specific haddock to module level.
  Also correct last_match to secondMatch.

Fri Aug 13 18:10:53 BST 2010  Eric Kow <kowey@darcs.net>
  * Improve module-level documentation for Darcs.Match.

Fri Aug 13 18:22:44 BST 2010  Eric Kow <kowey@darcs.net>
  * Reframe Darcs.Match.matchFirstPatchset documentation.
  This says the same thing but hopefully makes it easier to grasp.


___________________________________________________________
This email has been scanned by MessageLabs' Email Security
System on behalf of the University of Brighton.
For more information see http://www.brighton.ac.uk/is/spam/
___________________________________________________________
Attachments
msg12159 (view) Author: darcswatch Date: 2010-08-13.18:22:18
This patch bundle (with 6 patches) was just applied to the repository http://darcs.net/.
This message was brought to you by DarcsWatch
http://darcswatch.nomeata.de/repo_http:__darcs.net_.html#bundle-6b80f96429e62ddc4282873f75be0450e2ffd1f1
msg12185 (view) Author: tux_rocker Date: 2010-08-15.15:30:57
Op vrijdag 13 augustus 2010 19:56 schreef Eric Kow:
> Petr thinks that issue1290 does not belong in the Darcs 2.5
> release because it's so late in the release cycle.  While I
> find it a bit regrettable, I'm inclined to agree to him :-/
> 
> What do you think?

The reason I kept this in the 2.5 milestone was the issue title which contains 
the word "broken", implying a regression of some kind to me. Reading the 
replies to the issue, this seems not to be the case.

Still I see no reason why this couldn't go into 2.5. The fix seems simple 
enough. Are there risks in including this that I'm forgetting to consider?

Reinier
msg12203 (view) Author: kowey Date: 2010-08-15.21:08:04
Just following up on this to say this was accepted into Darcs 2.5 due
the release cycle looking like it'll be a bit longer and also to there
being minimal impact on the rest of the code.  See issue1290 for link to
chatlog
msg14190 (view) Author: darcswatch Date: 2011-05-10.19:36:36
This patch bundle (with 6 patches) was just applied to the repository http://darcs.net/reviewed.
This message was brought to you by DarcsWatch
http://darcswatch.nomeata.de/repo_http:__darcs.net_reviewed.html#bundle-6b80f96429e62ddc4282873f75be0450e2ffd1f1
History
Date User Action Args
2010-08-13 17:56:09koweycreate
2010-08-13 17:57:20darcswatchsetdarcswatchurl: http://darcswatch.nomeata.de/repo_http:__darcs.net_.html#bundle-fd41a1b656be0b6c00880b5381aea76dcf4a1c77
2010-08-13 17:59:05koweysetmessages: + msg12155
2010-08-13 18:02:19mornfallsetnosy: + mornfall
messages: + msg12156
2010-08-13 18:09:47koweysetfiles: + accept-issue1290_-darcs-diff-__index-support_.dpatch, unnamed
messages: + msg12157
2010-08-13 18:10:20darcswatchsetdarcswatchurl: http://darcswatch.nomeata.de/repo_http:__darcs.net_.html#bundle-fd41a1b656be0b6c00880b5381aea76dcf4a1c77 -> http://darcswatch.nomeata.de/repo_http:__darcs.net_.html#bundle-6b80f96429e62ddc4282873f75be0450e2ffd1f1
2010-08-13 18:22:18darcswatchsetstatus: needs-review -> accepted
messages: + msg12159
2010-08-15 15:30:58tux_rockersetmessages: + msg12185
2010-08-15 21:08:04koweysetmessages: + msg12203
2011-05-10 18:35:51darcswatchsetdarcswatchurl: http://darcswatch.nomeata.de/repo_http:__darcs.net_.html#bundle-6b80f96429e62ddc4282873f75be0450e2ffd1f1 -> http://darcswatch.nomeata.de/repo_http:__darcs.net_reviewed.html#bundle-fd41a1b656be0b6c00880b5381aea76dcf4a1c77
2011-05-10 19:36:36darcswatchsetmessages: + msg14190