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

See C.L. 427

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.