subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Shahaf <...@daniel.shahaf.name>
Subject Re: svn commit: r1071602 - in /subversion/trunk/subversion: svn/blame-cmd.c tests/cmdline/blame_tests.py
Date Sat, 19 Feb 2011 08:58:48 GMT
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.

Mime
View raw message