[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Creating and applying a patch

From: Nicolas Alvarez <nicolas.alvarez_at_gmail.com>
Date: Wed, 12 Mar 2008 17:11:21 -0200

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?

---------------------------------------------------------------------
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-12 20:18:49 CET

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.