[darcs-devel] [issue1590] applying patch to wrong context looks through entire history

Eric Kow bugs at darcs.net
Mon Aug 31 09:32:32 UTC 2009

Eric Kow <kowey at darcs.net> added the comment:

The attached script illustrates the problem (it may need some refining for clarity).

This happens in cases where somebody tries to apply a patch without having
pulled from the repo sent from.  The fact that the missing patch is a tag is
important, I think because that's where the bundle gets cut off -- we don't have
a frame of reference that we can use to stop searching through the history.

OK, at first I thought there wasn't much of a solution and that we maybe needed
issue1505 (hashed context files) to fix this, but now I think there may be an
answer: how about doing the equivalent of a darcs show tags first?

priority:  -> bug
status: unknown -> need-implementation

Darcs bug tracker <bugs at darcs.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: issue1590.sh
Type: application/octet-stream
Size: 475 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20090831/2348e4eb/attachment.obj>

More information about the darcs-devel mailing list