diff --git a/lib/choose_rev.tcl b/lib/choose_rev.tcl index 4147b7c5bcc..ec064b3e13a 100644 --- a/lib/choose_rev.tcl +++ b/lib/choose_rev.tcl @@ -34,6 +34,10 @@ proc new_unmerged {path {title {}}} { constructor _new {path unmerged_only title} { global current_branch is_detached + if {![info exists ::all_remotes]} { + load_all_remotes + } + set w $path if {$title ne {}} {