tboudreaux / gource

Automatically exported from code.google.com/p/gource
0 stars 0 forks source link

crash on empty svn log entries #116

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. gource is crashing once it will find empty svn log entry

Example:
svn log -r 97:120 --xml --verbose --quiet >/tmp/gg.log ; gource -loop 
/tmp/gg.log

I will get:

Segmentation fault

Looks like the problem is that some of svn log entries are accualy empty

svn log -r 98:100 --xml --verbose --quiet
<?xml version="1.0"?>
<log>
<logentry
   revision="98">
<author>svn</author>
<date>2010-01-20T08:35:18.022581Z</date>
<paths>
<path
   kind=""
   action="A">/filea.sh</path>
<path
   kind=""
   action="A">/filebb.sh</path>
</paths>
</logentry>

Please take a look and fix, except that it's awsome tool :)

Original issue reported on code.google.com by rds...@gmail.com on 12 Feb 2011 at 10:09

GoogleCodeExporter commented 8 years ago
Ups, i did not added 97 rev, with is crashing gource
Running if from 98 is fine, 97 = crash

svn log -r 97:97 --xml --verbose --quiet

<?xml version="1.0"?>
<log>
<logentry
   revision="97">
<date>2010-01-13T19:37:25.799560Z</date>
</logentry>
</log>

Original comment by rds...@gmail.com on 12 Feb 2011 at 10:11

GoogleCodeExporter commented 8 years ago
Hi. Someone else ran into this the other week. I've fixed it in the development 
version, just haven't done a new release yet.

Thanks for the detailed report!

Cheers

Andrew

Original comment by acaudw...@gmail.com on 12 Feb 2011 at 8:50

GoogleCodeExporter commented 8 years ago
great, thx :)

Original comment by rds...@gmail.com on 13 Feb 2011 at 7:12

GoogleCodeExporter commented 8 years ago
http://gource.googlecode.com/files/gource-0.30.tar.gz

Original comment by acaudw...@gmail.com on 14 Feb 2011 at 3:16