darcs

Patch 1102 resolve issue2209: Automatically detect replace

Title resolve issue2209: Automatically detect replace
Superseder Nosy List jlneder
Related Issues
Status accepted Assigned To
Milestone

Created on 2013-09-16.00:24:43 by jlneder, last changed 2014-01-20.19:03:18 by gh.

Files
File name Status Uploaded Type Edit Remove
patch-preview.txt jlneder, 2013-09-16.00:24:43 text/x-darcs-patch
patch-preview.txt jlneder, 2013-09-20.15:31:43 text/x-darcs-patch
patch-preview.txt jlneder, 2013-09-24.18:33:00 text/x-darcs-patch
patch-preview.txt gh, 2014-01-10.04:46:12 text/x-darcs-patch
resolve-issue2209_-automatically-detect-replace.dpatch jlneder, 2013-09-16.00:24:43 application/x-darcs-patch
resolve-issue2209_-automatically-detect-replace.dpatch jlneder, 2013-09-20.15:31:43 application/x-darcs-patch
resolve-issue2209_-automatically-detect-replace.dpatch jlneder, 2013-09-24.18:33:00 application/x-darcs-patch
resolve-issue2209_-automatically-detect-replace.dpatch gh, 2014-01-10.04:46:12 application/x-darcs-patch
unnamed jlneder, 2013-09-16.00:24:43
unnamed jlneder, 2013-09-20.15:31:43
unnamed jlneder, 2013-09-24.18:33:00
unnamed gh, 2014-01-10.04:46:12
See mailing list archives for discussion on individual patches.
Messages
msg17033 (view) Author: jlneder Date: 2013-09-16.00:24:43
This patch add the flag --look-for-replaces to amend-record, record and whatsnew commands, to automatically detect possible replaces. It implements the options 2 and 3 explained in http://darcs.net/Using/LookForReplaces
It shares many spots in the code with the --look-for-moves patch and needs to be mixed with it once the --look-for-moves patch is accepted.
1 patch for repository http://darcs.net/screened:

Sun Sep 15 21:12:48 ART 2013  Jose Luis Neder <jlneder@gmail.com>
  * resolve issue2209: Automatically detect replace
  This patch add the flag --look-for-replaces to amend-record, record and whatsnew commands, to automatically detect possible replaces. It implements the options 2 and 3 explained in http://darcs.net/Using/LookForReplaces
Attachments
msg17039 (view) Author: jlneder Date: 2013-09-20.15:31:43
I added the missing util.hs file.
1 patch for repository http://darcs.net/screened:

Fri Sep 20 12:28:58 ART 2013  Jose Luis Neder <jlneder@gmail.com>
  * resolve issue2209: Automatically detect replace
  This patch add the flag --look-for-replaces to amend-record, record and whatsnew commands, to automatically detect possible replaces. It implements the options 2 and 3 explained in http://darcs.net/Using/LookForReplaces
Attachments
msg17046 (view) Author: gh Date: 2013-09-23.22:42:53
Please provide a shell test that checks the complete behaviour of --look-for-replace 
(instead of linking to http://darcs.net/Using/LookForReplaces ). This is a more 
convincing way of showing that the implementation follows some specificacion. 

Then I think you can remove the second sentence of the patch's long comment (and wrap 
it at 72 characters).

Also please provide a copyright header for Darcs.Repository.Util, and haddock for 
getReplaces.
msg17048 (view) Author: jlneder Date: 2013-09-24.18:33:00
Added tests. One failing test when trying to amend an addfile patch
with a forced replace.
Added functionality to skip the use of the index when "--ignore-times"
and "--look-for-replaces" are used at the same time.
Added copyright to Darcs.Repository.Util.
Added haddock for getReplaces.
1 patch for repository http://darcs.net/screened:

Tue Sep 24 14:21:11 ART 2013  Jose Luis Neder <jlneder@gmail.com>
  * resolve issue2209: Automatically detect replace
  This patch add the flag --look-for-replaces to amend-record, record and
  whatsnew commands, to automatically detect possible replaces.
Attachments
msg17126 (view) Author: gh Date: 2014-01-10.04:46:12
I have amended Jose's patch so that it cleanly applies on top of
screened + look-for-moves.

I have added a second failing test, which shows that look-for-replaces
does not see the moved files detected by look-for-moves.

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

Fri Jan 10 01:20:13 ART 2014  Jose Luis Neder <jlneder@gmail.com>
  * resolve issue2209: Automatically detect replace
  This patch add the flag --look-for-replaces to amend-record, record and
  whatsnew commands, to automatically detect possible replaces.
Attachments
msg17130 (view) Author: gh Date: 2014-01-20.19:03:18
Self-accepting.
History
Date User Action Args
2013-09-16 00:24:43jlnedercreate
2013-09-20 15:31:43jlnedersetfiles: + patch-preview.txt, resolve-issue2209_-automatically-detect-replace.dpatch, unnamed
messages: + msg17039
2013-09-23 22:42:54ghsetmessages: + msg17046
2013-09-24 18:33:00jlnedersetfiles: + patch-preview.txt, resolve-issue2209_-automatically-detect-replace.dpatch, unnamed
messages: + msg17048
2014-01-10 04:46:12ghsetfiles: + patch-preview.txt, resolve-issue2209_-automatically-detect-replace.dpatch, unnamed
messages: + msg17126
2014-01-10 04:50:51ghsetstatus: needs-screening -> needs-review
2014-01-20 19:03:18ghsetstatus: needs-review -> accepted
messages: + msg17130