Partial Fix #5560 - Gitlive - branching wip
[gitlive] / NewBranch.vala
index 7617e45..602922e 100644 (file)
@@ -78,7 +78,7 @@ public class NewBranch : Object
                if (ticket_id != "" ) {
                                this.repo.setActiveTicket( RooTicket.singleton().getById(ticket_id), bn);
                        } else {
-                               this.repo.createBranchNamed(bn);
+                               this.repo.setActiveTicket( RooTicket.singleton().getById("-1"), bn);
                        }
             }