summaryrefslogtreecommitdiff
path: root/doCheckout.go
diff options
context:
space:
mode:
Diffstat (limited to 'doCheckout.go')
-rw-r--r--doCheckout.go9
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
}