summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doCheckout.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/doCheckout.go b/doCheckout.go
index 03904e8..4c30d5a 100644
--- a/doCheckout.go
+++ b/doCheckout.go
@@ -173,6 +173,10 @@ func rillCheckoutMaster(repo *gitpb.Repo) error {
// repo is already on master
return nil
}
+ if repo.GetUserVersion() == "uerr" {
+ repo.CheckoutMaster()
+ return nil
+ }
if repo.GetUserVersion() != repo.GetDevelVersion() {
// don't switch branches if the user branch has uncommitted patches
return nil