try new repolist code

This commit is contained in:
Jeff Carr 2024-02-22 19:04:02 -06:00
parent 7078066691
commit 7cfdbf32af
1 changed files with 2 additions and 2 deletions

View File

@ -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)
}
}
}