[TYPO3-dev] Proper DIFFs vs. Less work for Devs

Mathias Schreiber [wmdb >] mathias.schreiber at wmdb.de
Mon May 18 11:59:31 CEST 2009


Xavier Perseguers schrieb:
> Mathias Schreiber [wmdb >] wrote:
>> Martin Kutschker schrieb:
>>> On Windows you can use the "create patch" context menu command of
>>> Tortoise. Of course Eclipse with the SVN plugin also creates proper 
>>> patches.
>>
>> umm... I know how to create patches.
>> It's just that some patches aren't correct.
>> Like they state the change is in line 2002, but the line really is on 
>> line 1985.
>> The linux command patch check for this and if the line numbers are not 
>> correct it uses some fuzzy logic to apply the patches at the correct 
>> place.
>>
>> I just wanted to ask if this behaviour is intended (namely "send wrong 
>> line numbr, patch will fix it anyways") or if we aim for sending 
>> correct diffs in the future :)
> 
> The problem is not in sending wrong line numbers, it's likely that 
> another patch was first committed that added (or removed) some code of 
> the file having to be patched. There is no solution except always 
> sending patch against trunk. This can prevent "a bit" this problem.

Ok, so if you know about this I just have to put quite more effort in 
the PHP patcher...

I hope it will still be fast enough...

ok, thanks a lot
cheers
Mathias

--
TYPO3 certified intregator




More information about the TYPO3-dev mailing list