Re: [PATCH] Adding tests for some function in svn_checksum.h in SWIG bindings for python

2013-03-19 Thread Shivani Poddar
Yes, so as of now both these checksums should be handles by svn_checksum() itself. On Tue, Mar 19, 2013 at 10:35 PM, Philip Martin wrote: > Philip Martin writes: > > > 'd41d8cd98f00b204e9800998ecf8427e' is the MD5 of the empty string and > > Subversion has special handling of that checksum. > >

Re: [PATCH] Adding tests for some function in svn_checksum.h in SWIG bindings for python

2013-03-19 Thread Philip Martin
Philip Martin writes: > 'd41d8cd98f00b204e9800998ecf8427e' is the MD5 of the empty string and > Subversion has special handling of that checksum. I made a mistake here. 'd41d8cd98f00b204e9800998ecf8427e' is the checksum of the empty string: $ echo -n | md5sum d41d8cd98f00b204e9800998ecf8

Re: [PATCH] Adding tests for some function in svn_checksum.h in SWIG bindings for python

2013-03-19 Thread Philip Martin
Philip Martin writes: > Shivani Poddar writes: > >> Unless I don't assign the kind and digest some value for the object I >> declare here , calling svn_checksum_clear() on it will give me a >> segmentation fault , could you please elaborate more as to why should I >> have to call svn_checksum_cl

Re: [PATCH] Adding tests for some function in svn_checksum.h in SWIG bindings for python

2013-03-19 Thread Philip Martin
Shivani Poddar writes: > Unless I don't assign the kind and digest some value for the object I > declare here , calling svn_checksum_clear() on it will give me a > segmentation fault , could you please elaborate more as to why should I > have to call svn_checksum_clear() before assigning the dige

Re: [PATCH] Adding tests for some function in svn_checksum.h in SWIG bindings for python

2013-03-19 Thread Shivani Poddar
On Tue, Mar 19, 2013 at 7:05 PM, Philip Martin wrote: > Shivani Poddar writes: > > > On Tue, Mar 19, 2013 at 5:58 PM, Philip Martin > > wrote: > > > >> Shivani Poddar writes: > >> > >> > Index: subversion/bindings/swig/python/tests/checksum.py > >> > =

Re: [PATCH] Adding tests for some function in svn_checksum.h in SWIG bindings for python

2013-03-19 Thread Philip Martin
Shivani Poddar writes: > On Tue, Mar 19, 2013 at 5:58 PM, Philip Martin > wrote: > >> Shivani Poddar writes: >> >> > Index: subversion/bindings/swig/python/tests/checksum.py >> > === >> > --- subversion/bindings/swig/python/tests/ch

Re: [PATCH] Adding tests for some function in svn_checksum.h in SWIG bindings for python

2013-03-19 Thread Shivani Poddar
On Tue, Mar 19, 2013 at 5:58 PM, Philip Martin wrote: > Shivani Poddar writes: > > > Index: subversion/bindings/swig/python/tests/checksum.py > > === > > --- subversion/bindings/swig/python/tests/checksum.py (revision 1448005) > > ++

Re: [PATCH] Adding tests for some function in svn_checksum.h in SWIG bindings for python

2013-03-19 Thread Philip Martin
Shivani Poddar writes: > Index: subversion/bindings/swig/python/tests/checksum.py > === > --- subversion/bindings/swig/python/tests/checksum.py (revision 1448005) > +++ subversion/bindings/swig/python/tests/checksum.py (working copy)

[PATCH] Adding tests for some function in svn_checksum.h in SWIG bindings for python

2013-03-17 Thread Shivani Poddar
Log: [[[ Followup to r1420334: Adding new tests. * subversiom/bindings/swig/python/tests/checksum.py Writing new tests to ensure robustness of svn_checksum_match(), svn_checksum_dup() and svn_checksum_empty_checksum(). Patch by: Shivani Poddar ]]] Regards, Shivani Poddar, irc-nick - trinity_28

[PATCH] Adding tests for some function in svn_checksum.h in SWIG bindings for python

2013-03-15 Thread Shivani Poddar
Log: [[[ Followup to r1420334: Adding new tests. * subversiom/bindings/swig/python/tests/checksum.py Writing new tests to ensure robustness of svn_checksum_match(), svn_checksum_dup() and svn_checksum_empty_checksum(). Patch by: Shivani Poddar ]]] Regards, Shivani Poddar, irc-nick - trinity_28