rhuij...@apache.org wrote on Sun, Jan 20, 2013 at 23:26:11 -0000: > Author: rhuijben > Date: Sun Jan 20 23:26:10 2013 > New Revision: 1436005 > > URL: http://svn.apache.org/viewvc?rev=1436005&view=rev > Log: > * subversion/tests/cmdline/patch_tests.py > (single_line_mismatch): Add issue number and make sure all filenames match. > Somehow the patch was applied to the right target without this fix. >
IIRC, 'svn patch' tries all filenames it finds --- the "---" header, the "+++" header, and the "Index" header --- and uses the first one that exists. Thanks for the fixes to the other patch test. Daniel > - "Index: tests\n", > + "Index: test\n", > "===================================================================\n", > - "--- tests\t(revision 1)\n", > + "--- test\t(revision 1)\n", > "+++ test\t(working copy)\n", > "@@ -1 +1 @@\n", > "-foo\n", > >