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>
This commit is contained in:
Shawn O. Pearce 2006-11-25 02:47:18 -05:00
parent d90d83a3a9
commit 2171bf4b44

View File

@ -1634,7 +1634,7 @@ proc populate_branch_menu {m} {
foreach b $all_branches {
$m add radiobutton \
-label $b \
-command [list do_switch_branch $b] \
-command [list switch_branch $b] \
-variable current_branch \
-value $b \
-font font_ui
@ -1643,6 +1643,10 @@ proc populate_branch_menu {m} {
}
}
proc switch_branch {b} {
error "NOT IMPLEMENTED"
}
######################################################################
##
## remote management