summaryrefslogtreecommitdiff
path: root/repoNew.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-01 22:36:36 -0600
committerJeff Carr <[email protected]>2024-12-01 22:36:36 -0600
commitbe026e8edc5a9cac0d8923cc00099c150f97e329 (patch)
tree3129f490b1d42b0c93cdf2991b6e80ecb496d4e2 /repoNew.go
parentdc3fe4bd2e4fff95bd938eada5d71314e124b2c1 (diff)
remove all the old testing things()v0.0.15
Diffstat (limited to 'repoNew.go')
-rw-r--r--repoNew.go9
1 files changed, 4 insertions, 5 deletions
diff --git a/repoNew.go b/repoNew.go
index ad58373..f114487 100644
--- a/repoNew.go
+++ b/repoNew.go
@@ -4,14 +4,14 @@ import (
"os/user"
"go.wit.com/lib/protobuf/gitpb"
- "go.wit.com/log"
)
+/*
func (f *Forge) NewGoPath(gopath string) (*gitpb.Repo, error) {
newr, err := f.Repos.NewGoPath(f.goSrc, gopath)
if err != nil {
log.Log(FORGEPBWARN, "init failed", err)
- panic("crapnuts")
+ return nil, err
}
log.Info("init worked for", newr.GoPath)
// try to guess what the 'master' branch is
@@ -41,10 +41,9 @@ func (f *Forge) NewGoPath(gopath string) (*gitpb.Repo, error) {
newr.SetUserBranchName(uname + "FIXME")
}
f.Repos.ConfigSave()
- panic("forgepb got here")
-
- // return newr, err
+ return newr, err
}
+*/
func (f *Forge) VerifyBranchNames(newr *gitpb.Repo) {
// log.Info("init worked for", newr.GoPath)