diff --git a/[refs] b/[refs] index 0ae7da866a0fc..bed4b44b83abb 100644 --- a/[refs] +++ b/[refs] @@ -1,3 +1,3 @@ --- refs/heads/gh-pages: 09c786f70121f131b3715aaf3464996502bbeb7e -"refs/heads/CMSSW_7_1_X": 493667af37de8b9e0ec846824bc348ee93e075f6 +"refs/heads/CMSSW_7_1_X": c059db79556393cde3a68f177191f908832d4c13 diff --git a/trunk/CondCore/Utilities/bin/cmscond_export_iov.cpp b/trunk/CondCore/Utilities/bin/cmscond_export_iov.cpp index abd1193fe160e..e94f6c93e4fab 100644 --- a/trunk/CondCore/Utilities/bin/cmscond_export_iov.cpp +++ b/trunk/CondCore/Utilities/bin/cmscond_export_iov.cpp @@ -159,12 +159,8 @@ int cond::ExportIOVUtilities::execute(){ cond::UserLogInfo a; a.provenance=sourceConnect+"/"+inputTag; a.usertext="exportIOV V2.0;"; - { - std::ostringstream ss; - ss << "since="<< since <<", till="<< till << ", " << usertext << ";"; - a.usertext +=ss.str(); - } - + if (newIOV) a.usertext+= "new tag;"; + sourcedb.transaction().start(true); { cond::DbScopedTransaction transaction(destdb); @@ -175,9 +171,15 @@ int cond::ExportIOVUtilities::execute(){ bool stored = destdb.importMapping( sourcedb, payloadContainer ); if(debug) std::cout<< "payload mapping " << (stored ? "" : "not ") << "stored"<<std::endl; + if (stored) a.usertext+="mapping stored;"; } } - + + { + std::ostringstream ss; + ss << "since="<< since <<", till="<< till << ", " << usertext << ";"; + a.usertext +=ss.str(); + } destiovtoken=iovmanager.exportIOVRangeWithPayload( destdb, sourceiovtoken,