Nicolas Alvarez wrote:
> Wayne escribió:
>> I just ran into an interesting problem. Maybe it's already been seen
>> but I don't remember seeing it.
>>
>> I just created a patch with version 1.4.8 of TSVN (using the context
>> menu at the top of my working copy.) I then took that patch and
>> applied it to a working copy on another machine using version 1.4.7.
>> The patch seemed to work OK except that every file that was patched
>> ended up with an extra blank line at the end of the file.
>
> Text files *should* have blank lines at the end. Newline characters
> are line *terminators*, not line separators.
>
> The unified diff format adds "\ No newline at end of file" if the
> original file doesn't have a newline. Does that show on the diff you
> created?
>
I guess that I was not clear (my description assumed that newlines are
line terminators.)What I should have said is that they had an extra EOL.
I think that this is what you are trying to say above.
However, just for good measures I added 4 consecutive EOLs to the end of
a file and repeated the experiment. The patched file now has 5 EOLs in it.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: dev-help_at_tortoisesvn.tigris.org
Received on 2008-03-13 01:13:13 CET