[darcs-devel] [issue2447] get contents of deleted file

noreply bugs at darcs.net
Mon Jun 22 22:06:55 UTC 2015


noreply <noreply at darcs.net> added the comment:

The following patch sent by Ben Franksen <benjamin.franksen at helmholtz-berlin.de> updated issue issue2447 with
status=resolved;resolvedin=2.12.0 HEAD

* resolve issue2447 by using getNonrangeMatch as in ShowFiles 
Ignore-this: 3fe5a3ecf764b4743963c6f5cdd23d14

The crucial change here is that we don't use readRecorded if called with a
match option. Instead we call getNonrangeMatch in an empty (temporary) tree,
quite similar to how this is done in D.UI.Command.ShowFiles.

This patch also refactors the code quite a bit and adds some comments to
explain the tricky bits.

----------
resolvedin:  -> 2.12.0 HEAD
status: needs-implementation -> resolved

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue2447>
__________________________________


More information about the darcs-devel mailing list