Bug#683188: API change in python-subversion breaks trac

2013-09-17 Thread Cyril Brulebois
Control: reopen 683188 Control: notfixed 683188 subversion/1.7.9-1+nmu1 On Sat, Apr 13, 2013 at 11:23:41AM -0400, Michael Gilbert wrote: > On Sat, Apr 6, 2013 at 7:40 PM, Michael Gilbert wrote: > > On Sat, Apr 6, 2013 at 7:11 PM, W. Martin Borgert wrote: > >> On 2013-04-06 18:24, Michael Gilbert w

Bug#683188: API change in python-subversion breaks trac

2013-04-13 Thread Michael Gilbert
On Sat, Apr 6, 2013 at 7:40 PM, Michael Gilbert wrote: > On Sat, Apr 6, 2013 at 7:11 PM, W. Martin Borgert wrote: >> On 2013-04-06 18:24, Michael Gilbert wrote: >>> Does SVN_STREAM_CHUNK_SIZE even contain the expected value >>> of 102400? >> >> Yes, 102400 of type 'long'. > > Then that fix should b

Bug#683188: API change in python-subversion breaks trac

2013-04-06 Thread Michael Gilbert
On Sat, Apr 6, 2013 at 7:11 PM, W. Martin Borgert wrote: > On 2013-04-06 18:24, Michael Gilbert wrote: >> Does SVN_STREAM_CHUNK_SIZE even contain the expected value >> of 102400? > > Yes, 102400 of type 'long'. Then that fix should be fine given that 102400 is within the valid range of integers.

Bug#683188: API change in python-subversion breaks trac

2013-04-06 Thread W. Martin Borgert
One can easily test it: $ python >>> import svn.core >>> svn.core.SVN_STREAM_CHUNK_SIZE 102400L # should be 102400 >>> type(svn.core.SVN_STREAM_CHUNK_SIZE) # should be -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.o

Bug#683188: API change in python-subversion breaks trac

2013-04-06 Thread W. Martin Borgert
On 2013-04-06 18:24, Michael Gilbert wrote: > Does SVN_STREAM_CHUNK_SIZE even contain the expected value > of 102400? Yes, 102400 of type 'long'. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Bug#683188: API change in python-subversion breaks trac

2013-04-06 Thread Michael Gilbert
> This workaround works for me in the case of Trac: > > --- orig/usr/share/pyshared/svn/core.py 2012-06-04 08:13:32.0 +0200 > +++ /usr/share/pyshared/svn/core.py 2012-12-21 15:56:01.857716004 +0100 > @@ -145,7 +145,7 @@ ># read the rest of the stream >chunks = [ ] >w

Bug#683188: API change in python-subversion breaks trac

2012-12-21 Thread W. Martin Borgert
This workaround works for me in the case of Trac: --- orig/usr/share/pyshared/svn/core.py 2012-06-04 08:13:32.0 +0200 +++ /usr/share/pyshared/svn/core.py 2012-12-21 15:56:01.857716004 +0100 @@ -145,7 +145,7 @@ # read the rest of the stream chunks = [ ] while 1: -