diff options
| author | Jeff Carr <[email protected]> | 2025-02-09 08:28:28 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-09 08:28:28 -0600 |
| commit | b4cb43178b66992f8b6e0c35834c4bca3897f5f0 (patch) | |
| tree | f4a99bf1499d7a7db89b57ca1e61832ae678d495 /doCheckout.go | |
| parent | d17c61ddf3544f6a01ece2fc77c8a3b3a79687f3 (diff) | |
make a 'found repo' window
Diffstat (limited to 'doCheckout.go')
| -rw-r--r-- | doCheckout.go | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/doCheckout.go b/doCheckout.go index 0d50f22..337018f 100644 --- a/doCheckout.go +++ b/doCheckout.go @@ -165,6 +165,7 @@ func rillCheckoutDevel(repo *gitpb.Repo) error { // is every repo on the devel branch? func doAllCheckoutDevel() error { now := time.Now() + log.Info("going to rill:") me.forge.RillFuncError(rillCheckoutDevel) count := me.forge.RillReload() if count != 0 { @@ -253,6 +254,7 @@ func doAllCheckoutMaster() error { // shared this with the GUI and the command line? func doCheckoutShared() error { if me.argvCheckoutUser { + log.Info("Starting git checkout user") if argv.Force { // make the user directories if err := makeUserBranches(); err != nil { @@ -266,12 +268,13 @@ func doCheckoutShared() error { } if me.argvCheckoutDevel { + log.Info("Starting git checkout devel") if argv.Force { + log.Info("going to force create devel branches") // make the devel directories if err := makeDevelBranches(); err != nil { return err } - return nil } // this uses rill and is super fast doAllCheckoutDevel() @@ -279,8 +282,11 @@ func doCheckoutShared() error { } if me.argvCheckoutMaster { + log.Info("Starting git checkout master") doAllCheckoutMaster() + return nil } + log.Info("Forge didn't know what branches to checkout") return nil } @@ -311,6 +317,7 @@ func makeDevelBranches() error { for all.Scan() { repo := all.Next() branch := repo.GetDevelBranchName() + log.Info("going to force create devel branches", repo.GetGoPath()) if repo.Exists(filepath.Join(".git/refs/heads", branch)) { continue } |
