5 Usage: repo-cros [dir] <command> [command opts]
8 int switch to internal tree
9 ext switch to external tree
10 -b <branch> switch branches
14 [[ $# -eq 0 ]] && usage
17 cd ${DIR:-~/chromiumos}
18 printf '%s\n%s\n' "${PWD}" "$*"
23 while [[ $# -gt 0 ]] ; do
25 int) vexec repo init -u ssh://gerrit-int.chromium.org:29419/chromeos/manifest-internal.git --repo-url='http://git.chromium.org/external/repo.git' ;;
26 ext) vexec repo init -u http://git.chromium.org/chromiumos/manifest.git --repo-url http://git.chromium.org/external/repo.git ;;
27 -b) vexec repo init -b $2 ;;
29 if [[ -z ${DIR} ]] ; then