Changeset 157


Ignore:
Timestamp:
Mar 14, 2006, 5:24:30 PM (20 years ago)
Author:
arnault
Message:

Switch checkout sequence from multi-co to multi update - CL 300

Location:
CMT/HEAD
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CMT/HEAD/ChangeLog

    r152 r157  
     12006-14-03   Christian Arnault  <arnault@lal.in2p3.fr> 300
     2
     3        * source/cmt_cvs.cxx: Switch checkout sequence from multi-co to multi update
     4
    152006-03-01  Vincent Garonne <garonne@lal.in2p3.fr> 299
    26
  • CMT/HEAD/source/cmt_cvs.cxx

    r144 r157  
    12781278   
    12791279    command = "";
     1280
     1281    command += "cvs -Q update ";
     1282
     1283    if (!at_head)
     1284      {
     1285        command += "-r ";
     1286        command += version;
     1287      }
     1288
    12801289   
    12811290    int i;
     
    12841293      {
    12851294        cmt_string& branch = branch_vector[i];
    1286        
    1287         if (i > 0)
    1288           {
    1289             command += CmtSystem::command_separator ();
    1290           }
    1291        
    1292         command += "cvs -Q co ";
    1293        
    1294         if (!at_head)
    1295           {
    1296             command += "-r ";
    1297             command += version;
    1298           }
    1299        
    1300         command += " -d ";
     1295
     1296        command += " ";
    13011297        command += branch;
    1302         command += " ";
    1303         command += module;
    1304         command += "/";    // CVS uses the '/' notation on all platforms!!
    1305         command += branch;
    1306        
    1307         text += "D/";
    1308         text += branch;
    1309         text += "////\n";
    1310       }
     1298      }
     1299
     1300    command += CmtSystem::command_separator ();
     1301
     1302    command += "cvs update -l .";
    13111303   
    13121304    execute_and_retry (command, "Error getting package contents");
    1313 
    1314     make_management_files (module, text);
    13151305
    13161306    return (true);
Note: See TracChangeset for help on using the changeset viewer.