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

Ben Franksen benjamin.franksen at bessy.de
Thu Oct 4 16:39:20 UTC 2012


Hello

after several unsuccessful attempts to add the missing details for the above 
issue I am sending them here in the hope that someon with the right web 
browswer and/or email credentials might enter them.

BTW, thanks Owen, I *did* send a second message to bugs at darcs.net. First it 
told me my message awaits moderator approval (I expected that), then I got a 
second reply, saying "An unexpected error occurred during the processing of 
your message. The tracker administrator is being notified."

Ok so here is the report (copied verbatim from my second message to bugs@):


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 the 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=
00
+0200
+++ new-work/test/validate/testSupport.h        2012-10-04 14:36:35.0000000=
00
+0200
@@ -9,12 +9,15 @@

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

 #ifdef __cplusplus
 extern "C" {
 #endif

+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)

> darcs --exact-version
darcs compiled on Oct  4 2012, at 14:20:22

Context:

[stop using throw in the IO monad
Ganesh Sittampalam <ganesh at earth.li>**20121003184216
 Ignore-this: 8334eced74299c52293ef6ed9bbb672c
 throwIO should be used instead, but in this case catchJust is nicer anyway
]

[drop unused language pragma
Ganesh Sittampalam <ganesh at earth.li>**20121003181121
 Ignore-this: 263f2744a65324e94b6041e3d6d57e18
]

[get rid of an orphan instance in Darcs.Repository.ApplyPatches
Ganesh Sittampalam <ganesh at earth.li>**20121003180649
 Ignore-this: 188945190c631c0a8028eac1273e021d
]

[use newtype wrapper to avoid duplicated instances
Ganesh Sittampalam <ganesh at earth.li>**20121003070716
 Ignore-this: f637f868e737a5957d1a7b4ce0b83a21
]

[use GeneralizedNewtypeDeriving in ApplyPatches
Ganesh Sittampalam <ganesh at earth.li>**20121003063913
 Ignore-this: 4747f41f73a6a07031b708dd4798834b
]

[make mRemoveDirectory catch consistent between TolerantIO and SilentIO
Ganesh Sittampalam <ganesh at earth.li>**20121002212145
 Ignore-this: 33032ed6e0651a031d6835573dcad15a

 I accidentally introduced the inconsistency years ago when switching to
 extensible exceptions. Catching just IO exceptions was the original
 intent.
]

[fix utf8 test after rollback --record removal
Ganesh Sittampalam <ganesh at earth.li>**20121003211104
 Ignore-this: 945b130c5b7c484a950fa551bac38fd2
 Removed the test section completely as the point of the test was to ensure
 that funny metadata was recorded properly
]

[Implement Repository/Prefs.normalise in terms of standard FilePath functio=
ns
Owen Stephens <darcs at owenstephens.co.uk>**20120929191913
 Ignore-this: 99cba931363630bf072d14cf7ec06355
]

[resolve issue2246 - add default boring entry for emacs session save files
Owen Stephens <darcs at owenstephens.co.uk>**20120929191913
 Ignore-this: 7920f232ad473ca6fb2a3bb3196ed6f1
]

[Tidy/Style Repository/Prefs
Owen Stephens <darcs at owenstephens.co.uk>**20120929191908
 Ignore-this: d559471e24ca9586a86dc3e1edd9841b
]

[Fix Rollback output giving wrong command name
Owen Stephens <darcs at owenstephens.co.uk>**20120929142852
 Ignore-this: 12345dd70e1e261546620aa4f1fa2ab6
]

[Tidy/Style Commands/Rollback
Owen Stephens <darcs at owenstephens.co.uk>**20120929142842
 Ignore-this: 6a2c53d4852896ed10ee023638d5384e
]

[Accept issue 2243
Owen Stephens <darcs at owenstephens.co.uk>**20120929142248
 Ignore-this: 7dfae45f00761247d1f80ce1249ada27
]

[Add failing test for issue2234
Owen Stephens <darcs at owenstephens.co.uk>**20120921181249
 Ignore-this: c6727f06f79411307c09ee1ae16b9ae
]

[Accept issue2242 rollback of mv confuses darcs
Owen Stephens <darcs at owenstephens.co.uk>**20120924101544
 Ignore-this: a5e8cddc495b5b732b95826187f3c6f6
]

[Remove redundant Module field from module haddocks.
Eric Kow <kowey at darcs.net>**20120915092152
 Ignore-this: 935fe6c82493ba3dbfa505bd5750de09
]

[Make cabal-dev directory boring.
Eric Kow <kowey at darcs.net>**20120902181058
 Ignore-this: 5f92a7bb7037d1db07b98e8b1dc05b92
]

[Break up Setup.lhs a bit with banners.
Eric Kow <kowey at darcs.net>**20120901205610
 Ignore-this: a7a744f156372ab18849691c8a58440c
]

[Tests: Use type -P instead of -p for "which".
Petr Rockai <me at mornfall.net>**20120922165253
 Ignore-this: 145609f16da50f8d18afe8c0e67505c6
]

[Fix (old) tests to work correctly with set -o pipefail.
Petr Rockai <me at mornfall.net>**20120922162331
 Ignore-this: f99a9be72647579b07cef7cc939a91a6
]

[Tests: use DARCS_EDITOR in place of EDITOR (safer).
Petr Rockai <me at mornfall.net>**20120922161124
 Ignore-this: 63a0d2167ed9e3ef8ac9c800a0007e90
]

[Fix issue1935 test that only worked before with cURL enabled.
Petr Rockai <me at mornfall.net>**20120922161025
 Ignore-this: 87f3e0e6632ecc51e5a5366bd4eb20aa
]

[Tests: replace "set -ev" with ". ./lib" in old tests.
Petr Rockai <me at mornfall.net>**20120922130141
 Ignore-this: 727e597bc066713f8c8ea14f72d5e7f1
]

[Tests: Implement which in terms of type and cut.
Petr Rockai <me at mornfall.net>**20120922101021
 Ignore-this: 849ed490220bb5c2804f191b135750fc
]

[In Patch/Depends, use an existing function, removing duplication
Owen Stephens <darcs at owenstephens.co.uk>**20120909192455
 Ignore-this: 58f0ad795d250699f1240995bd0ab3e5
]

[accept issue2238 passing -l twice to whatsnew gives incorrect output
Owen Stephens <darcs at owenstephens.co.uk>**20120914132309
 Ignore-this: 705a44b904971758f0cae967e206e9bc
]

[Resolve issue2235:  Accept RFC2822 dates
Dave Love <fx at gnu.org>**20120911164335
 Ignore-this: 9c2bf2eebed8d1906ff7450f5f492849
]

[Fix previous "hlint: removed redundant $" patch
Dave Love <fx at gnu.org>**20120911164402
 Ignore-this: a1f77cbf3516db358ec99e919e2d5b2b
]

[Remove a few trailing spaces in FileMod
Owen Stephens <darcs at owenstephens.co.uk>**20120912160942
 Ignore-this: 1cbadefa7e2fe619331dd3711f08d825
]

[Remove unnecessary explicit forall's from FileMod type sigs
Owen Stephens <darcs at owenstephens.co.uk>**20120912160942
 Ignore-this: 4cc3d9b4f70372c45dd6895265278e9f
]

[resolve issue 2237 prevent patch index creation for non-hashed repos
Owen Stephens <darcs at owenstephens.co.uk>**20120912160907
 Ignore-this: 11c7e782aebeb6e76644eb18653f832a
]

[resolve conflicts between patch index creation and Darcs.Path renaming
Ganesh Sittampalam <ganesh at earth.li>**20120909153005
 Ignore-this: 2486a8a9500c4cc2273c4a8364a0592c
]

[Move patch index creation on existing repositories to the end of command
execution
bsrkaditya at gmail.com**20120909145316
 Ignore-this: 4957797af11f19e2317e58181ff9ce0e
     The exception to this is when the command run is
     changes or annotate, where patch index is created before
     command execution
]

[TAG 2.9.5
Ganesh Sittampalam <ganesh at earth.li>**20120909144005
 Ignore-this: 10a0339a4d717af614781d85eb0155fd
]

Compiled with:

HTTP-4000.2.3
array-0.4.0.0
base-4.5.1.0
binary-0.5.1.0
bytestring-0.9.2.1
containers-0.4.2.1
data-ordlist-0.4.5
directory-1.1.0.2
filepath-1.3.0.0
hashed-storage-0.5.9
haskeline-0.6.4.7
html-1.0.1.2
mmap-0.5.8
mtl-2.1.2
network-2.3.1.0
old-time-1.1.0.0
parsec-3.1.3
process-1.1.0.1
random-1.0.1.1
regex-compat-0.95.1
tar-0.4.0.0
terminfo-0.3.2.5
text-0.11.2.3
unix-2.5.1.1
vector-0.9.1
zlib-0.5.3.3


4. What operating system are you running?

Ubuntu 12.04

> uname -a
Linux sarun 3.2.0-3-amd64 #1 SMP Mon Jul 23 02:45:17 UTC 2012 x86_64 
GNU/Linux

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



More information about the darcs-users mailing list