Actions
Defect #3663
openProblem with subversion logentry without date nor author.
Status:
Needs feedback
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Start date:
2009-07-24
Due date:
% Done:
0%
Estimated time:
Resolution:
Affected version:
Description
In certain cases (see http://svn.haxx.se/dev/archive-2005-08/0309.shtml) a subversion respository might not send an author nor date xml elements as part of a logentry.
In such situations redmine (0.8.4) fails to read any revision below the failing one..
After a bit of debugging.. I made the following modifications to lib/redmine/scm/adapters/subversion_adapter.rb, in order to make this work:
date = logentry.elements['date']
msg = logentry.elements['msg']
revisions << Revision.new({:identifier => logentry.attributes['revision'],
:author => (logentry.elements['author'] ? logentry.elements['author'].text : ""),
:time => date ? Time.parse(date.text).localtime : nil,
:message => msg ? logentry.elements['msg'].text : "",
:paths => paths
})
Related issues
Updated by Daniel Felix almost 12 years ago
- Status changed from New to Needs feedback
Any news on this issue?
Is anyone able to reproduce this with current trunk?
Best regards,
Daniel
Updated by Toshi MARUYAMA almost 7 years ago
- Related to Defect #18754: empty svn logentry crashes revision batch reading added
Actions