darcs

Issue 1399 darcs: Cannot apply, we're missing patches (that we have, though)

Title darcs: Cannot apply, we're missing patches (that we have, though)
Priority not-our-bug Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, kolmodin, kowey, thorkilnaur, twb
Assigned To
Topics Documentation

Created on 2009-03-20.23:31:35 by kolmodin, last changed 2009-08-27.14:25:37 by admin.

Messages
msg7480 (view) Author: kolmodin Date: 2009-03-20.23:31:31
I'm trying to apply a patch to my repo, darcs says I'm missing a patch.
darcs changes --patch <name> show's I do indeed already have the "missing" patch.

Patch created and trying to apply with
$ darcs -v
2.2.1 (release)

Trying to apply:
$ darcs apply A\ forwarded\ darcs\ patch.eml 
darcs: Cannot apply this patch bundle, since we're missing:
Sun Feb 11 10:29:59 CET 2007  
Lennart Kolmodin <kolmodin@dtek.chalmers.se>
  * Add darcs-monitor

Shouldn't I have that patch already? Indeed I do.
$ darcs changes --patch "Add darcs-monitor"
Sun Feb 11 10:29:59 CET 2007  Lennart Kolmodin <kolmodin@dtek.chalmers.se>
  * Add darcs-monitor

Missing any patches from the repo?
$ darcs pull
Pulling from "code.haskell.org:/srv/code/gentoo/gentoo-haskell"...
gentoo-haskell MOTD
**********************
No remote changes to pull in!

Broken repo?
$ darcs repair
The repository is already consistent, no changes made.
msg7481 (view) Author: kolmodin Date: 2009-03-20.23:35:20
Rolled a tarball for the repo, turned out to be quite big.
Put it here (70mb):
http://haskell.org/~kolmodin/issue-1399-gentoo-haskell-apply.tar.gz
msg7483 (view) Author: kolmodin Date: 2009-03-22.16:08:20
Looks like the .eml patch got mangled by the email client (thunderbird).
It works if I manually remove a newline between the two rows in the patch:
[Add darcs-monitor

Lennart Kolmodin <kolmodin@dtek.chalmers.se>**20070211092959] =

It's unlikely due to darcs, I'd guess. Mark as not-our-bug?
msg7484 (view) Author: thorkilnaur Date: 2009-03-22.16:33:52
Thanks. We are not crystal clear on the use of priorities and status codes, but 
I have marked it not-our-bug for now, as you suggest. But furthermore, I am 
thinking that it should be possible for darcs to report this sort of thing in a 
more useful manner, so I will leave the issue in status chatting for now.

Best regards
Thorkil
msg8213 (view) Author: kowey Date: 2009-08-17.17:43:43
I think we can treat this as essentially a documentation problem resolved with
this FAQ entry:

http://wiki.darcs.net/Troubleshooting#patches-falsely-reported-as-missing
History
Date User Action Args
2009-03-20 23:31:35kolmodincreate
2009-03-20 23:35:23kolmodinsetstatus: unread -> unknown
nosy: kowey, simon, thorkilnaur, dmitry.kurochkin, kolmodin
messages: + msg7481
2009-03-22 16:08:23kolmodinsetnosy: kowey, simon, thorkilnaur, dmitry.kurochkin, kolmodin
messages: + msg7483
2009-03-22 16:33:54thorkilnaursetpriority: not-our-bug
nosy: kowey, simon, thorkilnaur, dmitry.kurochkin, kolmodin
messages: + msg7484
2009-08-17 17:43:46koweysetstatus: unknown -> resolved
nosy: + twb
topic: + Documentation
messages: + msg8213
2009-08-25 17:42:20adminsetnosy: + darcs-devel, - simon
2009-08-27 14:25:37adminsetnosy: kowey, darcs-devel, twb, thorkilnaur, dmitry.kurochkin, kolmodin