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

Re: crash in svn_client_commit()

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2003-02-10 21:50:01 CET

"SteveKing" <steveking@gmx.ch> writes:
> > How did you make this happen? By running 'svn', or by writing new
> > code that uses the API?
> by writing a new client (TortoiseSVN). I had a function which first
> does something like svn st <folder> to get all the files which need
> to get commited, then show all those files in a dialog box where
> the user can select/deselect single files for the commit (sometimes
> it's usefull to split changes into several commits or to simply not
> commit some those changes which don't work right now). If the
> user deselects all the files (or if no file needs a commit) then my
> client crashed 'cause the second parameter to svn_client_commit()
> was an empty array.
> I fixed it now by checking first before calling svn_client_commit()
> though it has no priority to get 'fixed' in subversion.

If you can trace the crash and provide a patch (it's probably pretty
simple to fix), that would be great... let us know.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Feb 10 22:21:21 2003

This is an archived mail posted to the Subversion Dev mailing list.