try new repolist code
This commit is contained in:
parent
7078066691
commit
7cfdbf32af
|
@ -30,7 +30,7 @@ func (r *repoWindow) initRepoList() {
|
||||||
if ubranch == "" {
|
if ubranch == "" {
|
||||||
ubranch = usr.Username
|
ubranch = usr.Username
|
||||||
}
|
}
|
||||||
r.View.AddRepo(path, mbranch, dbranch, ubranch)
|
r.View.NewRepo(path)
|
||||||
}
|
}
|
||||||
|
|
||||||
if args.OnlyMe {
|
if args.OnlyMe {
|
||||||
|
@ -42,7 +42,7 @@ func (r *repoWindow) initRepoList() {
|
||||||
path = strings.TrimPrefix(path, me.goSrcPwd.String())
|
path = strings.TrimPrefix(path, me.goSrcPwd.String())
|
||||||
path = strings.Trim(path, "/")
|
path = strings.Trim(path, "/")
|
||||||
log.Info("addRepo()", i, path)
|
log.Info("addRepo()", i, path)
|
||||||
r.View.AddRepo(path, "master", "devel", usr.Username)
|
r.View.NewRepo(path)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue