Ignore:
Timestamp:
01/07/14 13:32:09 (15 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1, releng/10.1.1
Children:
4f9718b, e9a3917
Parents:
8f95077
Message:

Add system source branch detection to the system manager.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/pc-sysmanager/cmdDialog.cpp

    r8f95077 r8a4c7a0  
    1717} 
    1818 
    19 void CMDDialog::start(QString cmdtype){ 
     19void CMDDialog::start(QString cmdtype, QString branch){ 
    2020  if(PROC->isRunning()){ 
    2121    qDebug() << "ERROR: Process is already working: please wait until it is finished"; 
     
    6969    //Now create the git update commands 
    7070    cmds << "git fetch --depth=1"; info << "Fetch new GIT info (this may take a while)"; dirs << "/usr/src/.git"; 
    71     cmds << "git checkout master"; info << "Checkout the right version of the tree"; dirs << "/usr/src";  
     71    cmds << "git checkout "+branch; info << "Checkout the right version of the tree"; dirs << "/usr/src";  
    7272  }else{ 
    7373    ui->textEdit->setPlainText("Unknown CMD Type: "+cmdtype); 
Note: See TracChangeset for help on using the changeset viewer.