Changeset 649
- Timestamp:
- Jul 10, 2013, 3:10:54 PM (11 years ago)
- Location:
- CMT/HEAD
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
CMT/HEAD/ChangeLog
r648 r649 1 2013-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 1 10 2013-07-09 <rybkin@lal.in2p3.fr> 507 2 11 -
CMT/HEAD/source/cmt_commands.cxx
r612 r649 1952 1952 { 1953 1953 CmtSystem::cmt_string_vector words; 1954 1955 1954 CmtSystem::split (arg, ":", words); 1956 1955 1957 1956 cmt.m_current_access = UserMode; 1957 1958 cmt.m_current_package = ""; 1959 cmt.m_current_version = ""; 1960 cmt.m_current_path = ""; 1958 1961 1959 1962 if (words.size () > 0) cmt.m_current_package = words[0]; … … 1976 1979 use.change_path (CmtSystem::pwd ()); 1977 1980 } 1978 else if (!use.move_to ( "", true))1981 else if (!use.move_to ()) 1979 1982 { 1980 1983 CmtError::set (CmtError::package_not_found, use.get_info ()); … … 2062 2065 use.change_path (CmtSystem::pwd ()); 2063 2066 } 2064 else if (!use.move_to ( "", true))2067 else if (!use.move_to ()) 2065 2068 { 2066 2069 CmtError::set (CmtError::package_not_found, use.get_info ()); -
CMT/HEAD/source/cmt_parser.cxx
r635 r649 7981 7981 // if (!use.move_to ()) 7982 7982 { 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"); 7985 7986 return (0); 7986 7987 } … … 8173 8174 // if (!use.move_to ()) 8174 8175 { 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"); 8177 8179 // return -1; 8178 8180 return (0);
Note: See TracChangeset
for help on using the changeset viewer.