- Timestamp:
- May 27, 2016, 4:59:21 PM (8 years ago)
- Location:
- CMT/HEAD
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
CMT/HEAD/ChangeLog
r678 r679 1 2016-05-27 <rybkin@lal.in2p3.fr> 528 2 3 * mgr/cmt_svn_checkout.py: Strip leading '!' from CMTHEADVERSION value, if any, 4 when setting package version 5 * source/cmt_use.cxx: Strip leading '!' from CMTHEADVERSION value, if any, 6 when checking for head version, do not set error when use is not located 7 if it corresponds to "cmt_standalone" package 8 1 9 2016-05-18 <rybkin@lal.in2p3.fr> 527 2 10 -
CMT/HEAD/mgr/cmt_svn_checkout.py
r678 r679 24 24 """ 25 25 26 __version__ = '0. 9.0'27 __date__ = ' Wed May 182016'26 __version__ = '0.10.0' 27 __date__ = 'Fri May 27 2016' 28 28 __author__ = 'Grigory Rybkin' 29 29 … … 214 214 self.head_version_tag = False 215 215 elif version.startswith('!'): 216 # it may be appropriate to strip the leading '!' 217 # that will require synchronization with C++ code, however 218 # self.head_version = version[1:] 219 self.head_version = version 216 # strip the leading '!' 217 # require synchronization with C++ code 218 self.head_version = version[1:] 220 219 self.head_version_tag = False 221 220 else: -
CMT/HEAD/source/cmt_use.cxx
r667 r679 752 752 if (!use->located ()) 753 753 { 754 if (use->get_package_name () == "cmt_standalone") continue; 754 755 CmtError::set (CmtError::package_not_found, use->get_info ()); 755 }756 else757 {758 /*759 CmtMessage::info ("package " +760 use->get_package_name () +761 " " + use->version +762 (use->path != "" ? " " + use->path : "") +763 " found");764 */765 756 } 766 757 } … … 5847 5838 { 5848 5839 cmt_string s (Symbol::get_env_value ("CMTHEADVERSION")); 5840 // strip the leading '!' 5841 // See mgr/cmt_svn_checkout.py:CmtContext::set_head_version 5842 if (0 != s.size () && '!' == s[0]) s = s.substr(1); 5849 5843 static const cmt_string package_template = "<package>"; 5850 5844 s.replace_all (package_template, get_package_name ());
Note: See TracChangeset
for help on using the changeset viewer.