[darcs-devel] Displaying patch name on test failure

Zachary P. Landau kapheine at gmail.com
Wed Dec 14 21:40:31 PST 2005


Hello,

One thing that sometimes bites me with darcs is losing my patch name
and comments because a test fails.  I just posted a new version of my
patch to keep the darcs log comment file around on a test failure. 
This helps in the case where a long comment was entered.

There is still a problem when only a short patch name is given.  I
wrote a quick patch that displays the patch name again when the test
fails.  This helps because the patch name is (one of) the last things
displayed on the screen, so it can be copied again.  This is a bit
goofy though.

Another solution would be to always write to the log comment file even
when not entering a long comment.  That way, with the new patch, a
test failure will cause the log comment file to stick around.  I think
I prefer this solution.

Does anyone have any thoughts?

--
Zachary P. Landau <kapheine at gmail.com>




More information about the darcs-devel mailing list