Changeset 552 for CMT/HEAD


Ignore:
Timestamp:
Aug 24, 2010, 12:37:01 PM (14 years ago)
Author:
rybkin
Message:

See C.L. 437

Location:
CMT/HEAD
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CMT/HEAD/ChangeLog

    r551 r552  
     12010-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       
    1112010-08-23    <rybkin@lal.in2p3.fr> 436
    212
  • CMT/HEAD/source/cmt_project.cxx

    r551 r552  
    200200  if (Cmt::get_debug ())
    201201    {
    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;
    203203      Project::show_all ();
    204204    }
     
    704704  if (path != "")
    705705    {
    706       cout << " in " << path;
     706      cerr << " in " << path;
    707707    }
    708708
     
    898898            if (release != project->get_release ())
    899899              {
    900                 if (CmtMessage::active (Verbose))
    901                   CmtMessage::error ("Project " + name
    902                                      + " requested with conflicting releases "
    903                                      + project->get_release () + " and " + release);
     900                //if (CmtMessage::active (Verbose))
     901                CmtMessage::error ("Project " + name
     902                                   + " requested with conflicting releases "
     903                                   + project->get_release () + " and " + release);
    904904                //              cerr << "#CMT> Project " << name << " requested with conflicting releases " << project->get_release () << " and " << release << endl;
    905905                CmtError::set (CmtError::project_release_conflict, name);
     
    10321032        {
    10331033          //
    1034           // Unset the tag with its name - TODO
     1034          // Unset the tag with its name
    10351035          //
     1036          Tag* tag = Tag::find (p.get_name ());
     1037          if (tag != 0)
     1038            tag->unmark ();
     1039
    10361040          p.set_is_current (false);
    10371041        }
     
    11061110
    11071111  if (p == 0 ||
     1112      !p->has_parents ())
     1113    // may come from CMTPATH entry
     1114      /*
    11081115      (!p->has_parents () && p->get_children_size () == 0)
    11091116      // comes from CMTPATH entry
    11101117      )
     1118      */
    11111119    {
    11121120      for (int i = offset; i < size; i++)
     
    11141122          Project* q = &(Projects[i]);
    11151123          if (q != p && !q->has_parents ())
    1116             {
     1124            { // may come from CMTPATH entry
    11171125              q->m_order = ++order;
    11181126              projs.push_back (q);
Note: See TracChangeset for help on using the changeset viewer.