wrong logic
This commit is contained in:
parent
2fc67512c8
commit
a170250cb4
|
@ -43,10 +43,12 @@ func (f *Forge) MakeDevelPatchSet(name string) (*Patchset, error) {
|
|||
for all.Scan() {
|
||||
repo := all.Next()
|
||||
|
||||
if !repo.IsLocalBranch(repo.GetUserBranchName()) {
|
||||
if ! repo.IsLocalBranch(repo.GetUserBranchName()) {
|
||||
// log.Info("repo doesn't have user branch", repo.GetGoPath())
|
||||
continue
|
||||
}
|
||||
if !repo.IsLocalBranch(repo.GetDevelBranchName()) {
|
||||
if ! repo.IsLocalBranch(repo.GetDevelBranchName()) {
|
||||
// log.Info("repo doesn't have devel branch", repo.GetGoPath())
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue