Changeset 292


Ignore:
Timestamp:
Oct 26, 2006, 11:33:30 PM (18 years ago)
Author:
garonne
Message:

add -no_config option. Oui, je sais ! je dois updater le Changelog...Demain...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMT/HEAD/source/cmt_cvs.cxx

    r208 r292  
    184184    m_verbose    = false;
    185185    m_simulation = false;
     186    no_config    = false;
    186187
    187188    m_home_dir     = "";
     
    218219    m_verbose    = other.m_verbose;
    219220    m_simulation = other.m_simulation;
     221    no_config    = other.no_config;
    220222
    221223    m_home_dir       = other.m_home_dir;
     
    18831885            if (did_recurse)
    18841886              {
    1885                 execute ("cmt -quiet broadcast cmt -quiet config");
     1887                  if (no_config==false)           
     1888                        execute ("cmt -quiet broadcast cmt -quiet config");
     1889             
    18861890              }
    18871891            else
    18881892              {
    1889                 execute ("cmt -quiet config");
     1893                  if (no_config==false)
     1894                        execute ("cmt -quiet config");
    18901895              }
    18911896          }
    18921897        else
    18931898          {
    1894             execute ("cmt -quiet config");
     1899            if (no_config==false)
     1900            execute ("cmt -quiet config");
    18951901          }
    18961902      }
     
    20812087        if (!m_recursive)
    20822088          {
    2083             execute ("cmt -quiet config");
     2089              if (no_config==false)
     2090                execute ("cmt -quiet config");
    20842091          }
    20852092      }
     
    21012108    cout << "   -t  Change file timestamps to the date of checkout" << endl;
    21022109    cout << "   -n        simulation mode on" << endl;
     2110    cout << "   -no_config  Disable config step after checkout" << endl;   
    21032111    cout << "   -v        verbose mode on" << endl;
    21042112    cout << "   --help    print this help" << endl;
     
    22712279    m_recursive      = false;
    22722280    need_touch_files = false;
     2281    no_config        = false;
    22732282   
    22742283    bool need_version_tag = false;
     
    23652374                m_simulation = true;
    23662375              }
     2376            else if (option == "-no_config")
     2377              {
     2378                    no_config = true;
     2379              }       
    23672380            else if (option == "-v")
    23682381              {
     
    24022415  bool m_verbose;
    24032416  bool m_simulation;
     2417  bool no_config;
    24042418
    24052419  cmt_string m_home_dir;
Note: See TracChangeset for help on using the changeset viewer.