Changeset 649 for CMT


Ignore:
Timestamp:
Jul 10, 2013, 3:10:54 PM (11 years ago)
Author:
rybkin
Message:

See C.L. 508

Location:
CMT/HEAD
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • CMT/HEAD/ChangeLog

    r648 r649  
     12013-07-10    <rybkin@lal.in2p3.fr> 508
     2
     3        * source/cmt_commands.cxx: In class ArgParser function option_use, make
     4        -use=<package>:<version>:<path> option fully functional with standard use
     5        statement syntax, in function option_path, make -path=<path> option
     6        functional for relative <path> as with standard use statement syntax
     7        * source/cmt_parser.cxx: In class Cmt functions reach_current_package,
     8        use_extra_file make diagnostic message more informative
     9
    1102013-07-09    <rybkin@lal.in2p3.fr> 507
    211
  • CMT/HEAD/source/cmt_commands.cxx

    r612 r649  
    19521952    {
    19531953      CmtSystem::cmt_string_vector words;
    1954 
    19551954      CmtSystem::split (arg, ":", words);
    19561955
    19571956      cmt.m_current_access = UserMode;
     1957
     1958      cmt.m_current_package = "";
     1959      cmt.m_current_version = "";
     1960      cmt.m_current_path = "";
    19581961
    19591962      if (words.size () > 0) cmt.m_current_package = words[0];
     
    19761979          use.change_path (CmtSystem::pwd ());
    19771980        }
    1978       else if (!use.move_to ("", true))
     1981      else if (!use.move_to ())
    19791982        {
    19801983          CmtError::set (CmtError::package_not_found, use.get_info ());
     
    20622065          use.change_path (CmtSystem::pwd ());
    20632066        }
    2064       else if (!use.move_to ("", true))
     2067      else if (!use.move_to ())
    20652068        {
    20662069          CmtError::set (CmtError::package_not_found, use.get_info ());
  • CMT/HEAD/source/cmt_parser.cxx

    r635 r649  
    79817981        //      if (!use.move_to ())
    79827982        {
    7983           CmtError::set (CmtError::package_not_found,
    7984                          "ReachCurrentPackage> Cannot reach the path directory");
     7983          CmtError::set (CmtError::package_not_found, use.get_info ());
     7984//           CmtError::set (CmtError::package_not_found,
     7985//                          "ReachCurrentPackage> Cannot reach the path directory");
    79857986          return (0);
    79867987        }
     
    81738174        //      if (!use.move_to ())
    81748175        {
    8175           CmtError::set (CmtError::package_not_found,
    8176                          "ReachCurrentPackage> Cannot reach the path directory");
     8176          CmtError::set (CmtError::package_not_found, use.get_info ());
     8177//           CmtError::set (CmtError::package_not_found,
     8178//                          "ReachCurrentPackage> Cannot reach the path directory");
    81778179          //          return -1;
    81788180          return (0);
Note: See TracChangeset for help on using the changeset viewer.