Re: [PATCH] Disallow passing None for revision arguments in svn.client
On Wed, 2006-06-14 at 11:27 -0400, Garrett Rooney wrote:
> On 6/14/06, Jelmer Vernooij <firstname.lastname@example.org> wrote:
> > Trivial patch for svn.client's Python bindings.
> > [[[
> > * subversion/bindings/swig/svn_client.i:
> > Disallow passing NULL revision and peg_revision arguments.
> > ]]]
> What happens if you try to pass NULL? Is this something we can test?
You'll get a SIGSEGV. With this patch, you'll get a ValueError exception
instead of a crash.
Jelmer Vernooij <jelmer_at_samba.org> - http://samba.org/~jelmer/
Received on Wed Jun 14 18:32:56 2006
This is an archived mail posted to the Subversion Dev