[issue678] patch cant apply changes at head of file (without prior context)

AlexRayne mercurial-bugs at selenic.com
Fri Aug 10 02:16:43 CDT 2007

New submission from AlexRayne <AlexRainPE196 at newmail.ru>:

hallow developers!
i got an conflict when try to apply the patch on new version of code. 
the change was in ChangeLog file and contain some insetrion into head of log.
therefore in the patchfile - delta have no prior context, and only have an 
context after insertion.
the patch would can found the place where to insert chages by post-context, 
but it rejects this changes instead.

IMHO mercurial patch would able to resolve insertion to head or 
appending to tail - changes, or at least provide more conrol to user on it.

files: head.patch
messages: 3769
nosy: AlexRayne
priority: wish
status: unread
title: patch cant apply changes at head of file (without prior context)
topic: merge, patch

Mercurial issue tracker <mercurial-bugs at selenic.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: head.patch
Type: application/octet-stream
Size: 1157 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20070810/0a4cd689/attachment.obj 

More information about the Mercurial-devel mailing list