You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Daniel Shahaf <d....@daniel.shahaf.name> on 2011/02/19 09:58:48 UTC
Re: svn commit: r1071602 - in /subversion/trunk/subversion:
svn/blame-cmd.c tests/cmdline/blame_tests.py
stsp@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.