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

Re: [PATCH] Apply one hunk with offset in patch test for fuzz

From: Stefan Sperling <stsp_at_elego.de>
Date: Tue, 2 Feb 2010 18:43:56 +0100

On Tue, Feb 02, 2010 at 06:38:19PM +0100, Daniel Näslund wrote:
> Hi!
>
> [[[
>
> * subversion/tests/cmdline/patch_tests.py
> (patch_with_fuzz): Add a test for applying a hunk with offset and fuzz
> to this testcase.
>
> Patch by: Daniel Näslund <daniel{_AT_}longitudo.com>
> ]]]

> @@ -1142,6 +1144,7 @@
>
> expected_output = [
> 'U %s\n' % os.path.join(wc_dir, 'A', 'mu'),
> + '> applied hunk @@ -19,6 +20,7 @@ with offset 1\n',
> ]
> expected_disk = svntest.main.greek_state.copy()
> expected_disk.tweak('A/mu', contents=''.join(mu_contents))

I gather you'll later add the fuzz notification bits, and then
this will say something like "with offset 1 and fuzz 2"?

Stefan
Received on 2010-02-02 18:44:36 CET

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