Revision: 73198
http://sourceforge.net/p/brlcad/code/73198
Author: starseeker
Date: 2019-05-27 23:55:18 +0000 (Mon, 27 May 2019)
Log Message:
-----------
Be more conservative about the timestamp mappings - there are others in there
that look suspect.
Modified Paths:
--------------
brlcad/trunk/misc/repoconv/svn_git_cmp/svn_git_cmp.cxx
Modified: brlcad/trunk/misc/repoconv/svn_git_cmp/svn_git_cmp.cxx
===================================================================
--- brlcad/trunk/misc/repoconv/svn_git_cmp/svn_git_cmp.cxx 2019-05-27
23:46:00 UTC (rev 73197)
+++ brlcad/trunk/misc/repoconv/svn_git_cmp/svn_git_cmp.cxx 2019-05-27
23:55:18 UTC (rev 73198)
@@ -206,7 +206,7 @@
// There are two timestamp ranges where SVN is known to
be out of wack - in those ranges,
// a timestamp match is not enough. Otherwise, assume
a match
- if ((timestamp > 524275754 && timestamp < 524313178) ||
(timestamp > 624936263 && timestamp < 625839678)) {
+ if ((timestamp > 524275754) && (timestamp < 625839678))
{
std::cerr << (*s_it).first.second << " " <<
(*s_it).second << " [unique, unmapped, timestamp in unreliable range] : " <<
cmsg << "\n";
} else {
std::cout << (*s_it).first.second << " " <<
(*s_it).second << " [unique, unmapped, but timestamp match] : " << cmsg << " ->
" << git_time_to_msg[(*s_it).first.second] << "\n";
@@ -228,7 +228,7 @@
}
if (cmsg == std::string("Initial revision")) {
- if ((timestamp > 524275754 && timestamp < 524313178) ||
(timestamp > 624936263 && timestamp < 625839678)) {
+ if ((timestamp > 524275754) && (timestamp < 625839678))
{
std::cerr << (*s_it).second << " -> " <<
git_time_to_sha1[(*s_it).first.second] << " [\"Initial revision\" timestamp
match, timestamp in unreliable range]\n";
} else {
std::cout << (*s_it).second << " -> " <<
git_time_to_sha1[(*s_it).first.second] << " [\"Initial revision\" timestamp
match]\n";
@@ -235,7 +235,7 @@
//write_note((*s_it).second ,
git_time_to_sha1[(*s_it).first.second], (*s_it).first.second);
}
} else {
- if ((timestamp > 524275754 && timestamp < 524313178) ||
(timestamp > 624936263 && timestamp < 625839678)) {
+ if ((timestamp > 524275754) && (timestamp < 625839678))
{
std::cerr << (*s_it).first.second << " " <<
(*s_it).second << " [non-unique, has exact timestamp match, timestamp in
unreliable range] : " << cmsg << " -> [" <<
git_time_to_sha1[(*s_it).first.second] << "] " <<
git_time_to_msg[(*s_it).first.second] << "\n";
} else {
std::cerr << (*s_it).first.second << " " <<
(*s_it).second << " [non-unique, has exact timestamp match] : " << cmsg << " ->
[" << git_time_to_sha1[(*s_it).first.second] << "] " <<
git_time_to_msg[(*s_it).first.second] << "\n";
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits