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

Re: svn commit: r1071602 - in /subversion/trunk/subversion: svn/blame-cmd.c tests/cmdline/blame_tests.py

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Sat, 19 Feb 2011 10:58:48 +0200

stsp_at_apache.org wrote on Thu, Feb 17, 2011 at 13:15:14 -0000:
> Author: stsp
> Date: Thu Feb 17 13:15:13 2011
> New Revision: 1071602
>
> URL: http://svn.apache.org/viewvc?rev=1071602&view=rev
> Log:
> * subversion/svn/blame-cmd.c
> (svn_cl__blame): If one of the targets is a non-existent URL or
> wc-entry, don't bail out. Just warn and move on to the next
> target. Also return a non-zero error code and print an error message
> at the end in those situations.
...
> + exit_code, output, error = svntest.main.run_svn(1, 'blame',
> + non_existent, iota_url)
> +
> + # Verify error
> + if not expected_err_re.match("".join(error)):
> + raise svntest.Failure('blame failed: expected error "%s", but received '
> + '"%s"' % (expected_err, "".join(error)))

If you use run_and_verify_*2(), you'll verify the non-zero exit code too.
Received on 2011-02-19 10:04:11 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.