[darcs-users] Can't record / Hashes mismatches

Ashley Moran ashley.moran at patchspace.co.uk
Fri Apr 16 16:31:09 UTC 2010


Hi 

I've just tried to record a patch which failed:

% darcs record -al -m "[Story 3] Upgrade TinyMCE to latest gem version"                                       
darcs failed:  Error creating file ./public/javascripts/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png

If I move that file out of the way it fails on a different one.

I did a `darcs check` and the output is below (ends with "Bad index").

I did a `darcs repair` which told me "Bad index discarded" (and checking says "The repository is consistent!", but got the same error when recording.

I then manually added all 2406 the files and started to record again.  This - after a minute or two :) - worked.  Unfortunately, I didn't do a record with --debug or --verbose so I have no more info about the previous failure.

So...

As a minor point: It'd be nice if darcs check told you to do a darcs repair, as I didn't at first know to do that.

As another minor point: It'd be nice if darcs told me how to report the record failure, as I've probably now lost the ability to get the output you need.

As a major point: Anyone got any idea what's going on that darcs couldn't record with implicit adds, but could after manual adds?

And are the corrupt repo hashes and record problems related, or is that a red herring?

Thanks
Ashley


% darcs check
The repository is consistent!                                                   
Hash mismatch(es)!                                                              
vendor/plugins
    index: b2778db1b4a27cdf2b6d715405fa3fa38d391d4f36865ebfd72dd490bbc10284
  working: 260d861c80770aafea6926e9e0e4adfb0a562ab915061498fa3d55587b81bea2
vendor
    index: 0f7ac0752c1848ac3e6895c903eed4de551b9334d1d4bbc2fe35b65b4c1ebd96
  working: efa72ce57177f1f622e5e5880714091230512f7d5706ddd497e265ed8261e2e7
spec/controllers
    index: 85fc71ab6b1059ef8e159c61e3c127416534ede857c7a40bbe3d2b58b83852cf
  working: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
spec
    index: 45d773b84420c0cfe0af4d55901196f75655e8a5e2aa373c00e48cd254f02505
  working: 9901771a5c6bf3c1af7e954b03c6227d13f8674ddc828c56dbd3549d5f90e94f
public/javascripts/tiny_mce/plugins/xhtmlxtras/langs
    index: f73bf39dc694c58e3bc0dd7c6f9f8ca0f537eca697b4cd57108705d30a24badc
  working: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
public/javascripts/tiny_mce/plugins/xhtmlxtras
    index: 15cb449c968848e7db42fbe1ac41d5da7437276206b10fbb5499c065177e6291
  working: 4d63cbfec194130581a8774bade12cd40032b70261010084801921429eb3960c
public/javascripts/tiny_mce/plugins/table/langs
    index: 4a6be309d06ececa85ae1cbd932b972bc9a0606c81faaef126b174b3f5d5535f
  working: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
public/javascripts/tiny_mce/plugins/table
    index: 2c5ee1327ffab2e2b26de2aa95c9e896cdb851466bffb130c9c319d68fbc46b6
  working: 740a19d517b4e40d84111299fae4f31146f40bfff129bf7f058bd076229ea834
public/javascripts/tiny_mce/plugins/style/langs
    index: f9566a89c799f3a343b4b22fa5603af9f7a1094561249977f390036a5f8eeb68
  working: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
public/javascripts/tiny_mce/plugins/style
    index: 92c92bde4f1464786efeba8bd97007eb3c4f480f66434f43a5336a5a070dcd38
  working: 179122edf2837ddf223f0b9d7a42833d2f757d993f7adc02344c7d8e77fbe964
public/javascripts/tiny_mce/plugins/searchreplace/langs
    index: 858418bd4638b3b5cd6d6fa50443785efdbf0ee64054840800484d91f5dbecd4
  working: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
public/javascripts/tiny_mce/plugins/searchreplace
    index: dc3f2ee1d37870fd5ec98ec9e519d436d35d6ec01429f24d5f2e97cb41ac25ad
  working: 5f9ac320b4e1512a750c30de4dd5a988adbc145d9882036a696f4922b2cd4784
public/javascripts/tiny_mce/plugins/paste/langs
    index: 7cf2528714df112957e9875515f8cf9f881d760d2f3fcf5325bfabacc2f46b11
  working: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
public/javascripts/tiny_mce/plugins/paste
    index: 2a83b5894e70bc47be9838c506609e21500fddb682d3dc4e096051b8b4b1a39d
  working: bce130b2281f54cdbec2c0fdc6b2feee803dd5b782007859213e07209c57d3cd
public/javascripts/tiny_mce/plugins/media/langs
    index: f3c2bfdd3be1613a72de47655f0c7bcecb90bf196126e95382e95c41754e73e8
  working: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
public/javascripts/tiny_mce/plugins/media
    index: 3db5571971e5646be3ae88c6c95b4ab155c43168c28506db7838f1689fad96fa
  working: 3d5d28428da78beaf66c65c1651177cc968a62d741e3cd8feab8a8aeaf624dc7
public/javascripts/tiny_mce/plugins/fullpage/langs
    index: eae2a7a342e9631d08a24dab2d49b978a0b838c6abbd4b4fc769aced589a59d7
  working: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
public/javascripts/tiny_mce/plugins/fullpage
    index: f05d637540b9d3a884be521ef8084c7f80e400c7b9d14b4dd96b96ace3b47456
  working: bd48e5e52f37d7b93976759e46f02ebe611a9fc976c04c328aea92cbd0a7202c
public/javascripts/tiny_mce/plugins/emotions/langs
    index: c56aa65160f13a0dc0bed647fddc0e2ea5801ba517037106e311287d6aecb2f2
  working: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
public/javascripts/tiny_mce/plugins/emotions
    index: 385df8df7af891d32e6f71eebe822d1ace752c37556abe510f07c12cf2a78fc8
  working: c681a4d8767ede0268f99ac497ad947e8c5cb3a43a818917f1f13403cdc96156
public/javascripts/tiny_mce/plugins/advlink/langs
    index: 699a7618574ea3e5d36dc864407bd078cb7c4dc1724425fa771d646147ce958d
  working: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
public/javascripts/tiny_mce/plugins/advlink
    index: d9e6f68dc2448461250bbbf0397b0462e32b6369a7c4352b7cd21fa0a87c0cc1
  working: 7f43844e82384532b7a7c30d788ad51baf0e49975c0c51e458ee9b5a5a7efecc
public/javascripts/tiny_mce/plugins/advimage/langs
    index: ebd61bc7d3b06570bab9cd1a13cb9c7ffbbe7fe3f69687a2f1826771607aa7c3
  working: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
public/javascripts/tiny_mce/plugins/advimage
    index: acce9644ec59a9c957a3c37b33f540417dd05bfc9a6aff454f88d69b2684773a
  working: 813dca4363f694b0a192f61d31dfb9c372d5a21aed05ba7faeab576fff88925e
public/javascripts/tiny_mce/plugins/advhr/langs
    index: f34e788ad17b5c18db69670f3b201337cc92b4451bd6e42ccdc46e806d893856
  working: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
public/javascripts/tiny_mce/plugins/advhr
    index: fe1378ec5c9f0ba9885e27dfb1d703ad3943489354ba5106ed040b8bdc38923d
  working: 295fd13ef53284db68a92a0d8ce58f9f2cb386f3f43e19f72ee00acec910e35e
public/javascripts/tiny_mce/plugins
    index: 810c27b7ce3da8798fb1882d8086b1dd70dc8e6ceb714bfa46ae77e2071e7926
  working: ee2106f93ab675fc223347bcb53f36ff06b10bae1c73784c320b720dbebb2d5c
public/javascripts/tiny_mce
    index: 9627018cb25bb56ef0f1a0855b6c34354b9f57cb1535754333e239495b8d81fa
  working: 7cea6679cc4f0263d5587cccc4639eca226bde3b97326599970f04721c46b92f
public/javascripts
    index: 8c7ac40fdc2d0d2af7e943f76c05458b69eb919b622cb6480482b05016e195d2
  working: 774a8bed2b6bee249097a99daad2a2b93c22615de8891410ea91c416462140c8
public
    index: ce44d81bce15ffa4a16585bb05a9d7b65859437fd7712a70ab1367f56a02af37
  working: 76435921e4e5e813e009cbc2b15df12fa5d2dbf49382b21d676afebbc8b306b9
db/migrate
    index: 328fe9dc52b09288dad41efb3a450db238d7af99da1f21482fd60fcee3835424
  working: 362dc2a18124e5b59db4b75a05b82973e4d9e0951cb3190d9d480293268a8d9a
db
    index: 0b5e015e0d000608a304c163f134986871a0a908484c9edcf68b0f2c87e5f1b2
  working: 13de913450a4a63d6116896c4169cf20b5be4ebf4689b00e5fc81cf1af46895f
client/app/views/discussion
    index: a465f9742ecd91bca569174767433352d48be81ead7a8ab33ecfab0812edfe18
  working: f7643a57ce2b73a4ef4f8ed40652529af668d3b6d18e597b8d8a445e65c50f2f
client/app/views
    index: 2173a248e89ac177cc8363f68af1006648db45e0f59d4bc0b5bda510f4b35cf1
  working: 39a6f7fba0dca616dc7670b3b999a6140475d316974aec7fd89cdf0b2d626c86
client/app/models
    index: 15323dbe1624dbc33e81e73623ff56100a6e37d8706b51c4f4cf1f90f945cf1c
  working: 24edb574ec0cc9063846d810b4d903eede1bd8d77186fcf3822e12ae9a4a81b9
client/app/helpers
    index: 0e7789c2a18a46bdbc56606ddfc5da79f926b57d7b13d7ef51aa7cd3a94ff6bc
  working: 049c44fc0178e1133c74285cf13aaefbfe1bdb144962c79923cf25c16c7e027a
client/app/controllers
    index: 72e0aa932073831861241c190a14d82d886146c2bfb9565089cdc05f88872672
  working: 4c9d112b1e6f4c00267f0ca9b9143cf667e4cc3f53720a9cd964775e9685a310
client/app
    index: 881787589beeea3a1a7955a3d8c0a143d94cce7fd321b48dbb6a8429724ecefc
  working: 2257d96e3c094d631edeb8481a59f9cf4bf2ea5f4b9b4ea28dbba9b694ddb239
client
    index: 3550f83359a79ac02bb10fe7941ec5b65ec92a7fe247228ef8da819a2b8be8d1
  working: 99a1add542ccdc9456588ef1dac4df78d642b613493ac94a1bd5879d763031be
app/views/rating_phase
    index: e429bf1003a48c40cd42c46a79f59bffd0a4c0f913708ec5b49dfac8fe974151
  working: d285f6577ba1a1c7828e82caaa8f16d45587ea820badb51e82b87e696aadd60a
app/views
    index: 88ea0c82e0b9e23e41e1748aa3994b02dc6ae0bb85df8a43ccd4acc39665c452
  working: f09eb049001695759966b4c9e1103f8b63d877afe1bb598fd49dad2c9140be70
app
    index: 59b6b256031bba64b8e6685a041dfbc0ef309f09e1a6fd55f0e916dcff51c977
  working: ea28120121fc66e224d51a2be39c66b1600030f231e44e87b4c9e8c9e2acfce9

Bad index.


-- 
http://www.patchspace.co.uk/
http://www.linkedin.com/in/ashleymoran



More information about the darcs-users mailing list