[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: Daniel Näslund <daniel_at_longitudo.com>
Date: Tue, 2 Feb 2010 19:25:47 +0100

On Tue, Feb 02, 2010 at 06:43:56PM +0100, Stefan Sperling wrote:
> 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"?

This patch has been made obsolute by a later posted one including both
this testcase and the fuzz notifications part. I blame the contribulizer
for forcing me to send very small patches.

Daniel
Received on 2010-02-02 19:26:26 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.