[darcs-devel] [patch1430] break RebaseItem out into its own file (and 4 more)

Guillaume Hoffmann bugs at darcs.net
Sun Jan 17 09:14:47 UTC 2016

Guillaume Hoffmann <guillaumh at gmail.com> added the comment:

* break RebaseItem out into its own file
moves Item-related code to Darcs.Patch.Rebase.Item , and one name-related
function to Darcs.Patch.Rebase.Name (from Darcs.Patch.Rebase).

* move Rebasing out into its own module

Introduces Darcs.Patch.Rebase.Container, which handles the patch that
represents the rebased state. Moves code from Darcs.Patch.Rebase to this
new module.

* implement hunkMatches for PatchInfoAnd

ok; previous code was strangely incomplete indeed.

* simplify the PatchInspect (Rebasing p) instance

It does so by introducing a PatchInspect (RebaseItem p) instance. OK.

* drop unneeded export



status: needs-review -> accepted

Darcs bug tracker <bugs at darcs.net>

More information about the darcs-devel mailing list