minor fixes
This commit is contained in:
parent
2ddba9924c
commit
cd3ca5dc82
|
@ -34,9 +34,8 @@ func doNormal() bool {
|
||||||
if count > 0 {
|
if count > 0 {
|
||||||
log.Info("Some repos are not in a 'normal' state. error count =", count)
|
log.Info("Some repos are not in a 'normal' state. error count =", count)
|
||||||
log.Info("TODO: list the repos here. forge patch repos?")
|
log.Info("TODO: list the repos here. forge patch repos?")
|
||||||
configSave = false
|
|
||||||
me.forge.SetConfigSave(false)
|
|
||||||
dumpDirtyRepos()
|
dumpDirtyRepos()
|
||||||
|
configSave = true
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
return true
|
return true
|
||||||
|
|
|
@ -134,7 +134,7 @@ func doPatch() error {
|
||||||
|
|
||||||
// return doPatchList()
|
// return doPatchList()
|
||||||
applied := findApplied()
|
applied := findApplied()
|
||||||
if applied.Len() == 0 {
|
if applied == nil || applied.Len() == 0 {
|
||||||
log.Info("no patches have been appled to the devel branch yet")
|
log.Info("no patches have been appled to the devel branch yet")
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue