Changeset 540 for CMT


Ignore:
Timestamp:
Mar 31, 2010, 6:36:09 PM (14 years ago)
Author:
rybkin
Message:

See C.L. 427

Location:
CMT/HEAD
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • CMT/HEAD/ChangeLog

    r539 r540  
     12010-03-31    <rybkin@lal.in2p3.fr> 427
     2
     3        * source/cmt_vcs.cxx: In method GlobalProjectAction::run, add container
     4        with relative path (rather than absolute) which can be used for container
     5        checkout. Same in method Packages::find, when adding package in case of
     6        found package validation failure. In method Walkthru::filter, print warning
     7        and return in case of macro reference(s) encountered when reading
     8        requirements
     9        * source/cmt_project.cxx: In function Project::order_all, fix setting of
     10        current project pointer
     11       
    1122010-03-30    <rybkin@lal.in2p3.fr> 426
    213
  • CMT/HEAD/source/cmt_project.cxx

    r537 r540  
    10101010      if (current_path_real.find (p.get_cmtpath_real ()) == 0)
    10111011        {
     1012          p_cur = &p;
    10121013          if (p.is_current ()) continue;
     1014
    10131015          p.set_is_current (true);
    10141016          //
     
    10201022          tag = Tag::add (p.get_name (), PriorityConfig, "PROJECT", 0);
    10211023          tag->mark ();
    1022 
    1023           p_cur = &p;
    10241024        }
    10251025      else if (p.is_current ())
  • CMT/HEAD/source/cmt_vcs.cxx

    r539 r540  
    158158        CmtMessage::verbose ("container " + use->get_info () +
    159159                             " (" + use->real_path + ")");
    160         Use* cuse = Use::add (use->real_path,
     160        //      Use* cuse = Use::add (use->real_path,
     161        Use* cuse = Use::add (use->path,
    161162                              use->get_package_name (),
    162163                              use->version,
     
    352353              return p_use;
    353354            }
    354           Use* n_use = Use::add (use->real_path,
     355          //      Use* n_use = Use::add (use->real_path,
     356          Use* n_use = Use::add (use->path,
    355357                                 use->get_package_name (),
    356358                                 use->version,
     
    622624      //      cerr << " `" + s + "'";
    623625      if (s[0] == '-') continue;
     626
     627      if (s.find ("$(") != cmt_string::npos
     628          || s.find ("${") != cmt_string::npos)
     629        {
     630          CmtMessage::warning (line +
     631                               ": Skipped due to macro reference(s)."
     632                               " Consider using -C option.");
     633          return;
     634        }
    624635
    625636      switch (state)
     
    41764187        CmtMessage::warning (use->get_info () +
    41774188                             ": Skipped due to wildcards in version."
    4178                              " Consider using -C option.");
     4189                             " Consider using -C or -r HEAD option.");
    41794190        return;
    41804191      }
     
    42424253        CmtMessage::warning (use->get_info () +
    42434254                             ": Skipped due to wildcards in version."
    4244                              " Consider using -C option.");
     4255                             " Consider using -C or -r HEAD option.");
    42454256        return;
    42464257      }
Note: See TracChangeset for help on using the changeset viewer.