dimagi/commcare-hq — pull request #2310 by dannyroberts (2014-01-23 08:25:49+00:00)
Title: rewrite the build staging command using sh lib

* do better checks
* break down into stages
- fetch: fetches all the branches in each of the relevant submodules
- sync: makes sure your local copy is in sync with origin
- check: checks to make sure trunk can merge into each of your branches
- rebuild: rebuilds staging and force pushes