diff options
Diffstat (limited to 'doFix.go')
| -rw-r--r-- | doFix.go | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -10,6 +10,11 @@ import ( "go.wit.com/log" ) +func getPorcelain() (string, error) { + s, err := me.forge.Repos.CheckPorcelain() + return s, err +} + // is every repo on the devel branch? func doFix() (string, error) { var s string @@ -36,12 +41,15 @@ func doFix() (string, error) { if argv.Fixer.Porcelain != nil { s, err = getPorcelain() + log.Info("GET PORCELAIN SENT BACK", s, err) for repo := range me.forge.Repos.IterByFullPath() { curbranch := repo.GetCurrentBranchName() if repo.IsLocalBranch(curbranch) { + log.Info(repo.FullPath, "SEEMS TO HAVE A '", curbranch, "' LOCAL BRANCH") continue } if repo.IsRemoteBranch(curbranch) { + log.Info(repo.FullPath, "SEEMS TO HAVE A '", curbranch, "' REMOTE BRANCH") continue } log.Info("curbranch is doesn't exist. this'll cause all sorts of problems", curbranch, repo.FullPath) |
