We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 539de03 + e9f0e11 commit 80bafbcCopy full SHA for 80bafbc
src/svn.cpp
@@ -523,9 +523,12 @@ int SvnRevision::fetchRevProps()
523
svn_string_t *svndate = (svn_string_t*)apr_hash_get(revprops, "svn:date", APR_HASH_KEY_STRING);
524
svn_string_t *svnlog = (svn_string_t*)apr_hash_get(revprops, "svn:log", APR_HASH_KEY_STRING);
525
526
- log = svnlog->data;
+ if (svnlog)
527
+ log = svnlog->data;
528
+ else
529
+ log.clear();
530
authorident = svnauthor ? identities.value(svnauthor->data) : QByteArray();
- epoch = get_epoch(svndate->data);
531
+ epoch = svndate ? get_epoch(svndate->data) : 0;
532
if (authorident.isEmpty()) {
533
if (!svnauthor || svn_string_isempty(svnauthor))
534
authorident = "nobody <nobody@localhost>";
0 commit comments