diff options
Diffstat (limited to 'getPatches.go')
| -rw-r--r-- | getPatches.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/getPatches.go b/getPatches.go index 2fd0d36..771b582 100644 --- a/getPatches.go +++ b/getPatches.go @@ -30,7 +30,7 @@ func (repo *RepoRow) GetPatches(oldname string, newname string) (int, []*Patch) log.Info("Run:", gitcmd) r := repo.Status.Run(gitcmd) if r.Error != nil { - log.Info("git failed ", repo.GoPath(), "err =", r.Error) + log.Info("git failed ", repo.GetGoPath(), "err =", r.Error) return 0, nil } @@ -97,7 +97,7 @@ func (r *RepoList) MakePatchset(setdir string) bool { continue } - repodir := filepath.Join(setdir, repo.GoPath()) + repodir := filepath.Join(setdir, repo.GetGoPath()) shell.Mkdir(repodir) // git format-patch branch1..branch2 gitcmd := []string{"git", "format-patch", "-o", repodir, develn + ".." + usern} @@ -105,10 +105,10 @@ func (r *RepoList) MakePatchset(setdir string) bool { r := repo.Status.Run(gitcmd) log.Info("output =", r.Stdout) if r.Error == nil { - log.Info("patches made okay for:", repo.GoPath()) + log.Info("patches made okay for:", repo.GetGoPath()) continue } - log.Info("patches failed for:", repo.GoPath()) + log.Info("patches failed for:", repo.GetGoPath()) return false } return true |
