}
FileUtils.set_contents(this.gitdir + "/.gitlive-active-ticket" , ticket.id);
this.activeTicket = ticket;
+ return true;
}
- public void createBranchNamed(string branchname)
+ public bool createBranchNamed(string branchname)
{
try {
notification.show();
- } catch(e) {
+ } catch(Error e) {
GitMonitor.gitmonitor.pauseError(e.message);
+ return false;
}
this.loadBranches(); // update branch list...
GitMonitor.gitmonitor.runQueue(); // commit any outstanding...
+ return true;
}