summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2ee94d1)
raw | patch | inline | side by side (parent: 2ee94d1)
author | Heiko Voigt <hvoigt@hvoigt.net> | |
Mon, 15 Jun 2009 21:19:56 +0000 (23:19 +0200) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Mon, 10 Aug 2009 15:47:34 +0000 (08:47 -0700) |
If the user wants to delete a remote branch and selects the correct
"merged into" we should not warn that "Recovering deleted branches is
difficult". For local branches we do the same already.
Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
"merged into" we should not warn that "Recovering deleted branches is
difficult". For local branches we do the same already.
Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
lib/remote_branch_delete.tcl | patch | blob | history |
index 4e02fc0d393ff9fe8d2983fec99a03db7f36273a..31e09474880c8d22122334f649cfcc126bf2c82e 100644 (file)
return
}
- if {[tk_messageBox \
- -icon warning \
- -type yesno \
- -title [wm title $w] \
- -parent $w \
- -message [mc "Recovering deleted branches is difficult.\n\nDelete the selected branches?"]] ne yes} {
- return
+ if {$checktype ne {head}} {
+ if {[tk_messageBox \
+ -icon warning \
+ -type yesno \
+ -title [wm title $w] \
+ -parent $w \
+ -message [mc "Recovering deleted branches is difficult.\n\nDelete the selected branches?"]] ne yes} {
+ return
+ }
}
destroy $w