Changeset 1115
- Timestamp:
- Jul 3, 2010, 10:13:59 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEWS
r1087 r1115 20 20 http://dev.thep.lu.se/svndigest/svn/branches/0.7-stable 21 21 22 Version 0.7.5 (released 3 July 2010) 23 24 A complete list of closed tickets can be found here [[br]] 25 http://dev.thep.lu.se/svndigest/query?status=closed&milestone=svndigest+0.7.5 26 - now handles the case when parts of repository is not readable (bug #458) 27 22 28 Version 0.7.4 (released 8 June 2010) 23 29 - fixed memory bug in StatsCollection (r1075) 24 30 25 31 A complete list of closed tickets can be found here [[br]] 26 http://dev.thep.lu.se/svndigest/query?status=closed&milestone= 0.7.432 http://dev.thep.lu.se/svndigest/query?status=closed&milestone=svndigest+0.7.4 27 33 28 34 Version 0.7.3 (released 15 February 2010) … … 30 36 31 37 A complete list of closed tickets can be found here [[br]] 32 http://dev.thep.lu.se/svndigest/query?status=closed&milestone= 0.7.338 http://dev.thep.lu.se/svndigest/query?status=closed&milestone=svndigest+0.7.3 33 39 34 40 Version 0.7.2 (released 2 January 2010) … … 38 44 39 45 A complete list of closed tickets can be found here [[br]] 40 http://dev.thep.lu.se/svndigest/query?status=closed&milestone= 0.7.246 http://dev.thep.lu.se/svndigest/query?status=closed&milestone=svndigest+0.7.2 41 47 42 48 Version 0.7.1 (released 3 December 2009) … … 50 56 51 57 A complete list of closed tickets can be found here [[br]] 52 http://dev.thep.lu.se/svndigest/query?status=closed&milestone= 0.7.158 http://dev.thep.lu.se/svndigest/query?status=closed&milestone=svndigest+0.7.1 53 59 54 60 Version 0.7 (released 22 November 2009) … … 62 68 63 69 A complete list of closed tickets can be found here [[br]] 64 http://dev.thep.lu.se/svndigest/query?status=closed&milestone= 0.770 http://dev.thep.lu.se/svndigest/query?status=closed&milestone=svndigest+0.7 65 71 66 72 version 0.6.8 (released 12 November 2009) -
trunk/lib/SVNlog.cc
r978 r1115 3 3 /* 4 4 Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson 5 Copyright (C) 2009 Peter Johansson5 Copyright (C) 2009, 2010 Peter Johansson 6 6 7 7 This file is part of svndigest, http://dev.thep.lu.se/svndigest … … 28 28 #include <algorithm> 29 29 #include <cassert> 30 #include <iostream> 30 31 #include <stdexcept> 31 32 #include <sstream> … … 92 93 { 93 94 struct log_receiver_baton *lb=static_cast<struct log_receiver_baton*>(baton); 94 if (!date || !date[0]) 95 throw SVNException("No date defined for revision: " + rev); 95 std::string d; 96 if (date && date[0]) 97 d = date; 98 else if (!lb->commits.empty()) { 99 // FIXME: this is a bit hackish to fix the problem reported in 100 // ticket #458. If we lack read permission for rev, no date is 101 // retrived and we use the date of the previous rev. That should 102 // be OK if we call the super-root and previous rev truly is 103 // rev-1 (super-root contains all revs). That should be the 104 // typical case where this happens. If this would happen when 105 // calling the log of a sub-node (e.g. the trunk) this could be 106 // problematic because log is more or less sparse and when 107 // merging two sparse logs together this workaround could have 108 // strange effects such as rev+1 having a earlier date than 109 // rev. To ensure that we only allow this workaround when 110 // calling super-root, we have the assert below: 111 std::cerr << "no date defined for revision: " << rev << "\n"; 112 assert(rev == lb->commits.rbegin()->revision()+1); 113 d = lb->commits.rbegin()->date(); 114 } 115 else { 116 std::stringstream msg; 117 msg << "No date defined for revision: " << rev; 118 throw SVNException(msg.str()); 119 } 96 120 std::string a; 97 121 if (author && author[0]) … … 100 124 if (msg) 101 125 message = msg; 102 lb->commits.insert(lb->commits.end(), Commitment(a, d ate, message, rev));126 lb->commits.insert(lb->commits.end(), Commitment(a, d, message, rev)); 103 127 return SVN_NO_ERROR; 104 128 }
Note: See TracChangeset
for help on using the changeset viewer.