[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 [BUG found?]

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 20 Mar 2008 22:11:01 +0100

Wayne wrote:

> Okay, the svn diff > ... command creates exactly the same patch as the
> context menu. This is not at all surprisings since I assume that the svn
> library is handling the command in both cases.
> The first time I tried to run "patch -p0 ..." command failed because,
> for some reason, patch believed that some of the changes have already
> been applied.
> I tried a different set of changes today on two identical working copies
> using both tsvn and patch. TSVN added and extra EOL to the end of the
> file and path did not. Also, I think I have noticed that if you modify
> the last line of the file the extra EOL is not added. I don't have time
> right now to verify that.
> Can someone else give this a try and verify my results. All you need to
> do is create a patch from a modified working copy and apply it to a
> non-modified working copy and you'll see an extra EOL at the end of each
> patched file. I think but have not confirmed that if the last line in
> the file changes the extra EOL is not added.

Try either a nightly build or the 1.5.0-alpha release.


   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

Received on 2008-03-20 22:11:19 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.