From 7cfdbf32af63ff73798c1a15d511bbf2f9a46f2a Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 22 Feb 2024 19:04:02 -0600 Subject: [PATCH] try new repolist code --- initRepoList.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/initRepoList.go b/initRepoList.go index 2f33f3f..3b47ac8 100644 --- a/initRepoList.go +++ b/initRepoList.go @@ -30,7 +30,7 @@ func (r *repoWindow) initRepoList() { if ubranch == "" { ubranch = usr.Username } - r.View.AddRepo(path, mbranch, dbranch, ubranch) + r.View.NewRepo(path) } if args.OnlyMe { @@ -42,7 +42,7 @@ func (r *repoWindow) initRepoList() { path = strings.TrimPrefix(path, me.goSrcPwd.String()) path = strings.Trim(path, "/") log.Info("addRepo()", i, path) - r.View.AddRepo(path, "master", "devel", usr.Username) + r.View.NewRepo(path) } } }