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

Re: svn commit: r1436005 - /subversion/trunk/subversion/tests/cmdline/patch_tests.py

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Mon, 21 Jan 2013 06:32:24 +0200

rhuijben_at_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",
>
>
Received on 2013-01-21 05:33:05 CET

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

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