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

svn bug report

From: Алексей Бадяев <leemouse_at_mail.ru>
Date: Thu, 13 Nov 2008 14:33:59 +0700

Hi!
Sorry for my terrible English - my born language is Russian.

I found bug in subversion system - in svn program.

When I create patch of my project (sources encoded in UTF-8) by command:
    svn diff --change 6 >myproject-6.diff

- and then apply given patch to sources (revision 5) by command:
    patch --strip=0 --input=myproject-6.diff

- I see second output:
patching file handle-static-runtime.jam
patching file libs/tree/test/main.cpp
patching file libs/tree/test/Jamfile
patching file libs/tree/include/dotconf/tree.hpp
patching file libs/tree/Jamfile
patching file libs/Jamfile
missing header for unified diff at line 1782 of patch
can't find file to patch at input line 1782
Perhaps you used the wrong -p or --strip option?

================================================
If I use GNU diff utility for create patch by second command:
    svn diff --diff-cmd diff --change 6 >myproject-6.diff

- patch work correctly!!!

I think, it is BUG in Subversion's svn program.

-- 
With best regards, Alexey Badyaev
Russia, Kemerovo city (Siberia)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-11-13 14:44:29 CET

This is an archived mail posted to the Subversion Users mailing list.

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