summaryrefslogtreecommitdiff
path: root/repoNew.go
diff options
context:
space:
mode:
Diffstat (limited to 'repoNew.go')
-rw-r--r--repoNew.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/repoNew.go b/repoNew.go
index db21181..2b55cd3 100644
--- a/repoNew.go
+++ b/repoNew.go
@@ -9,6 +9,7 @@ import (
"regexp"
"strings"
+ "go.wit.com/lib/config"
"go.wit.com/lib/protobuf/gitpb"
"go.wit.com/log"
)
@@ -58,7 +59,7 @@ func (f *Forge) AddNamespaceDir(ns string, fullpath string) (*gitpb.Repo, error)
if f.Config.IsReadOnly(repo.GetGoPath()) {
repo.ReadOnly = true
}
- f.configSave = true
+ config.SetChanged("repos", true)
return repo, nil
}
@@ -170,6 +171,7 @@ func (f *Forge) VerifyBranchNames(repo *gitpb.Repo) {
repo.SetUserBranchName(uname)
}
}
+ log.Info("VerifyBranchNames", repo.GetMasterBranchName(), repo.GetDevelBranchName(), repo.GetUserBranchName())
}
// what name should be used for the user branch?