- Timestamp:
- Aug 24, 2010, 12:37:01 PM (14 years ago)
- Location:
- CMT/HEAD
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
CMT/HEAD/ChangeLog
r551 r552 1 2010-08-24 <rybkin@lal.in2p3.fr> 437 2 3 * source/cmt_project.cxx: In class Project function order_all, consider for 4 ordering projects (which may come from CMTPATH entries) other than current 5 in case current project does not have parents (may have children), unmark 6 tag with project name as appropriate, in function add, print error message 7 about conflicting releases without mode Verbose, in function create, fix 8 typo in diagnostic message. In class ProjectFactory function create_project, 9 add more info to debug message 10 1 11 2010-08-23 <rybkin@lal.in2p3.fr> 436 2 12 -
CMT/HEAD/source/cmt_project.cxx
r551 r552 200 200 if (Cmt::get_debug ()) 201 201 { 202 cout << "Creating project " << path<< " with parent " << ((parent==0)? "0" : parent->get_name ()) << endl;202 cout << "Creating project " << specified_name << " in " << path << " from " << source << " with parent " << ((parent==0)? "0" : parent->get_name ()) << endl; 203 203 Project::show_all (); 204 204 } … … 704 704 if (path != "") 705 705 { 706 c out<< " in " << path;706 cerr << " in " << path; 707 707 } 708 708 … … 898 898 if (release != project->get_release ()) 899 899 { 900 if (CmtMessage::active (Verbose))901 902 903 900 //if (CmtMessage::active (Verbose)) 901 CmtMessage::error ("Project " + name 902 + " requested with conflicting releases " 903 + project->get_release () + " and " + release); 904 904 // cerr << "#CMT> Project " << name << " requested with conflicting releases " << project->get_release () << " and " << release << endl; 905 905 CmtError::set (CmtError::project_release_conflict, name); … … 1032 1032 { 1033 1033 // 1034 // Unset the tag with its name - TODO1034 // Unset the tag with its name 1035 1035 // 1036 Tag* tag = Tag::find (p.get_name ()); 1037 if (tag != 0) 1038 tag->unmark (); 1039 1036 1040 p.set_is_current (false); 1037 1041 } … … 1106 1110 1107 1111 if (p == 0 || 1112 !p->has_parents ()) 1113 // may come from CMTPATH entry 1114 /* 1108 1115 (!p->has_parents () && p->get_children_size () == 0) 1109 1116 // comes from CMTPATH entry 1110 1117 ) 1118 */ 1111 1119 { 1112 1120 for (int i = offset; i < size; i++) … … 1114 1122 Project* q = &(Projects[i]); 1115 1123 if (q != p && !q->has_parents ()) 1116 { 1124 { // may come from CMTPATH entry 1117 1125 q->m_order = ++order; 1118 1126 projs.push_back (q);
Note: See TracChangeset
for help on using the changeset viewer.