can't merge all if some repos are dirty
This commit is contained in:
parent
34fc90e4bf
commit
ffd510e1d8
|
@ -91,6 +91,11 @@ func (r *repoWindow) repoMenu() *gui.Node {
|
|||
|
||||
box2.NewButton("merge it all", func() {
|
||||
r.Disable()
|
||||
if IsAnythingDirty() {
|
||||
log.Info("You can't apply patches when repos are dirty")
|
||||
doCobol()
|
||||
return
|
||||
}
|
||||
if !r.mergeAllUserToDevel() {
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue