List Info

Thread: diff_summarize aborts the python interpreter.




diff_summarize aborts the python interpreter.
user name
2007-05-21 14:42:41
Test case:

import pysvn
c=pysvn.Client()
c.diff_summarize('.',
pysvn.Revision(pysvn.opt_revision_kind.number, 48316), '.',
pysvn.Revision(pysvn.opt_revision_kind.number, 48317))

I get the following messages:
python: subversion/libsvn_subr/path.c:114: svn_path_join:
Assertion `is_canonical(base, blen)' failed.
Abort

Is there something wrong with my code?
Even if there is, should this abort the interpreter?
I would expect to get an exception instead.

Carsten.

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribepysvn.tigris.org
For additional commands, e-mail: users-helppysvn.tigris.org


Re: diff_summarize aborts the python interpreter.
user name
2007-05-26 05:43:56
On May 21, 2007, at 20:42, Carsten Koch wrote:

> Test case:
>
> import pysvn
> c=pysvn.Client()
> c.diff_summarize('.', pysvn.Revision 
> (pysvn.opt_revision_kind.number, 48316), '.',
pysvn.Revision 
> (pysvn.opt_revision_kind.number, 48317))
>
> I get the following messages:
> python: subversion/libsvn_subr/path.c:114:
svn_path_join: Assertion  
> `is_canonical(base, blen)' failed.
> Abort
>
> Is there something wrong with my code?
> Even if there is, should this abort the interpreter?
> I would expect to get an exception instead.

r859 fixes this problem. It also affected
diff_summarize_peg.

Barry

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribepysvn.tigris.org
For additional commands, e-mail: users-helppysvn.tigris.org


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )