[darcs-users] [issue2251] darcs diff filename fails with strange error message

Ben Franksen benjamin.franksen at bessy.de
Thu Oct 4 20:38:35 UTC 2012

My last mail to the list didn't get through. It contained the output of 
darcs --exact-version. I suspect that something in the long output of this 
command triggers some filter somewhere, therefore I re-send without it.

1. Summarise the issue (what were doing, what went wrong?)

> darcs diff test/validate/testSupport.h

darcs failed:  replace patch to ./src/snc/gen_ss_code.c couldn't apply.

Note the file it complains about is not teh one I gave on the command line.
(It's in the same repo, though).

2. What behaviour were you expecting instead?

This one:

> darcs-2.8.0 diff test/validate/testSupport.h
--- old-work/test/validate/testSupport.h        2012-10-04 14:36:35.0000000=
+++ new-work/test/validate/testSupport.h        2012-10-04 14:36:35.0000000=
@@ -9,12 +9,15 @@

 #include "epicsThread.h"
 #include "epicsMutex.h"
+#include "epicsEvent.h"
 #include "epicsUnitTest.h"

 #ifdef __cplusplus
 extern "C" {

+extern epicsEventId this_test_done;
 void run_seq_test(seqProgram *seqProg, int adapt_priority);
 void seq_test_init(int num_tests);
 void seq_test_done(void);

Yes, this means it worked in darcs-2.8.0.

3. What darcs version are you using? (Try: darcs --exact-version)

Better not ;-) I am using the latest and greatest from the screned repo.

4. What operating system are you running?

Ubuntu 12.04 (64 bit)

Ben Franksen
()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments

More information about the darcs-users mailing list