summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-22 16:47:19 -0500
committerJeff Carr <[email protected]>2025-10-22 16:47:19 -0500
commit58519f14654cb2dd5d1b938bae5dbdaba5c04a1a (patch)
tree928f57b5a41da838ce277b6eded7045193d5c447
parentf55d1679dc7052187d8ee442aa0df4ce28947c11 (diff)
more old func namesv0.25.98
-rw-r--r--windowPatches.go4
-rw-r--r--windowViewRepoPatches.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/windowPatches.go b/windowPatches.go
index 362c0ca..f76fa32 100644
--- a/windowPatches.go
+++ b/windowPatches.go
@@ -84,7 +84,7 @@ func makePatchesWin(patches *forgepb.Patches) *stdPatchTableWin {
func applyPatchNew(p *forgepb.Patch) error {
rn := p.Namespace
- repo := me.forge.FindByNamespace(rn)
+ repo := me.forge.Repos.FindByNamespace(rn)
if repo == nil {
log.Info("Could not figure out repo path", rn)
return log.Errorf("%s namespace?\n", rn)
@@ -117,7 +117,7 @@ func (dwin *stdPatchTableWin) doPatchesTable(currentPatches *forgepb.Patches) {
// used by the PB table
func applyPatchLabel(p *forgepb.Patch) string {
rn := p.Namespace
- if repo := me.forge.FindByNamespace(rn); repo == nil {
+ if repo := me.forge.Repos.FindByNamespace(rn); repo == nil {
// log.Info("Could not figure out repo path", rn)
return ""
}
diff --git a/windowViewRepoPatches.go b/windowViewRepoPatches.go
index 0f8a38e..c927632 100644
--- a/windowViewRepoPatches.go
+++ b/windowViewRepoPatches.go
@@ -118,7 +118,7 @@ func (r *repoPatchWindow) addPatchset(grid *gui.Node, pset *forgepb.Set) {
for all.Scan() {
p := all.Next()
s := p.Namespace
- repo := me.forge.FindByNamespace(s)
+ repo := me.forge.Repos.FindByNamespace(s)
if repo == nil {
log.Info("COULD NOT FIND", s)
continue