trying to fix the user branch create

This commit is contained in:
Jeff Carr 2025-01-30 02:24:17 -06:00
parent 5d2daf75c0
commit 4539a85125
1 changed files with 2 additions and 2 deletions

View File

@ -102,9 +102,9 @@ func rillCheckoutUser(repo *gitpb.Repo) error {
// never do dirty repos
return nil
}
if repo.GetCurrentBranchName() == repo.GetDevelBranchName() {
if repo.GetCurrentBranchName() == repo.GetMasterBranchName() {
// repo is already on devel branch. have to move them there first for now
return rillCheckoutDevel(repo)
// return repo.CheckoutDevel()
}
if repo.GetCurrentBranchName() == repo.GetUserBranchName() {
// repo is already on user branch