git-gui: Abort on not implemented branch switching.
I'm not currently ready to implement branch switching, so I'm just going to punt on it for now. :-) Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Shawn O. Pearce committed
Nov 25, 2006 at 02:47 UTC
2171bf4b44884fd75bc5c1c412a39c2d4e645453
1 file changed
+5
-1
git-gui
+5
-1
@@ -1634,7 +1634,7 @@ proc populate_branch_menu {m} {
1634
foreach b $all_branches {
1635
$m add radiobutton \
1636
-label $b \
1637
- -command [list do_switch_branch $b] \
1637
+ -command [list switch_branch $b] \
1638
-variable current_branch \
1639
-value $b \
1640
-font font_ui
@@ -1643,6 +1643,10 @@ proc populate_branch_menu {m} {
1643
}
1644
}
1645
1646
+proc switch_branch {b} {
1647
+ error "NOT IMPLEMENTED"
1648
+}
1649
+
1650
######################################################################
1651
##
1652
## remote management