TL;DR: Accepted, all tests pass, thanks for splitting changes into small
patches.
* use restrictDarcsdir in D.R.State.readWorking
* fixed erroneous/misleading docs in D.R.State
* small simplification in filteredWorking
* better documentation for restrictBoring
* removed unneeded forall in type signatures in D.R.State
* yet another layout fix, for D.R.State.readPending
OK
* pull all the lookForMoves/Replaces ugliness into D.R.State
Nice improvement of the repository API.
This simplifies the code of the individual commands
that inspect the unrecorded state.
* layout changes, mostly to break overlong lines
* document how readPendingAndWorking handles LookForMoves and
LookForReplaces
* slightly refactored index code in D.R.State
* further improved docs for unrecordedChanges
OK
* pull calls to GetMoves and GetReplaces into readPendingAndWorking
Yes!
* layout cleanup and some renamings in D.R.State
OK
* avoid repeated reading of the pending tree in D.R.State.getReplaces
Good.
* maybeRestrictSubpaths gets the pending patch as parameter
OK (Probably the comment "- we have no need for the pending patch"
should go away)
(PD: the next patch removes it :-) )
* fix: consider --look-for-moves in readUnrecordedFiltered and
filterExistingPaths
Seems correct.
* avoid use of pattern type signatures in readPendingAndWorking
* layout: decreased indentation of where-block of D.R.State.getReplaces
OK
* fix getReplaces, refactoring call sites along the way
*Seems* correct to me.
* fix: use argument file paths to restrict detected moves
* added a test for --look-for-moves and --look-for-replaces and with files
* removed tests/failing-look_for_replaces2.sh
* cleanup arguments to filteredWorking
* fixed tests/failing-look_for_replaces1.sh so that it fails for the
stated reason
OK
* added test for --look-for-moves with (file path) arguments
This is to test patch "fix: use argument file paths to restrict detected
moves". Good.
|