Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77753
b: "refs/heads/CMSSW_7_1_X"
c: c059db7
h: "refs/heads/CMSSW_7_1_X"
i:
  77751: 3d595dc
v: v3
  • Loading branch information
Vincenzo Innocente committed Nov 12, 2009
1 parent 940e73d commit 1618544
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
refs/heads/gh-pages: 09c786f70121f131b3715aaf3464996502bbeb7e
"refs/heads/CMSSW_7_1_X": 493667af37de8b9e0ec846824bc348ee93e075f6
"refs/heads/CMSSW_7_1_X": c059db79556393cde3a68f177191f908832d4c13
16 changes: 9 additions & 7 deletions trunk/CondCore/Utilities/bin/cmscond_export_iov.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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,
Expand Down

0 comments on commit 1618544

Please sign in to comment.