fixes due to new autogen function names

This commit is contained in:
Jeff Carr 2025-01-12 06:35:13 -06:00
parent fcd25fa76a
commit 96c9588c6b
2 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ func dumpPatchset(pset *forgepb.Patchset) bool {
var count int
var bad int
all := pset.SortByFilename()
all := pset.SortPatchesByFilename()
for all.Scan() {
p := all.Next()
if IsValidPatch(p) {
@ -96,7 +96,7 @@ func applyPatchset(pset *forgepb.Patchset) error {
log.Info("applyPatches() COMMENT", pset.Comment)
log.Info("applyPatches() GIT_AUTHOR_NAME", pset.GetGitAuthorName())
log.Info("applyPatches() GIT_AUTHOR_EMAIL", pset.GetGitAuthorEmail())
all := pset.SortByFilename()
all := pset.SortPatchesByFilename()
for all.Scan() {
p := all.Next()
// log.Info("pset filename FILENAME IS REAL?", p.Filename, pset.Name, pset.Comment)

View File

@ -142,7 +142,7 @@ func sendMasterDiff() {
if err != nil {
badExit(err)
}
all := pset.SortByFilename()
all := pset.SortPatchesByFilename()
for all.Scan() {
p := all.Next()
log.Info("read in patch:", p.Filename)