diff options
author | Chirayu Desai <cdesai@cyanogenmod.org> | 2013-06-05 20:14:33 +0530 |
---|---|---|
committer | Adnan Begovic <adnan@cyngn.com> | 2015-10-06 16:12:14 -0700 |
commit | 4a319b88165e7d6c46eb3350014ed1c4b0485a7d (patch) | |
tree | 4b62740f0a0f46e3f644d15b80bc376293376bd0 /envsetup.sh | |
parent | 7cb6092e5b3316950390f39e5fa78011aa5e02c5 (diff) | |
download | build-4a319b88165e7d6c46eb3350014ed1c4b0485a7d.zip build-4a319b88165e7d6c46eb3350014ed1c4b0485a7d.tar.gz build-4a319b88165e7d6c46eb3350014ed1c4b0485a7d.tar.bz2 |
repopick: initial commit
Change-Id: Ie42c11d335da07f6d164a0fcb887011e5fd6dcf4
repopick: add -b shortcut option
* useful for people like me who want to pick into temp branch so
that the picks survive a repo sync
* shortcut to "--start-branch auto --abandon-first --ignore-missing"
Change-Id: Ia4d4309d27e46a15ff4b74525668d974f4251dcb
repopick: handle additional error cases around subprocesses
* gracefully error if the project path cannot be found
* poll() was not a reliable determination of EOF on my
Darwin-Python 2.7 system.
Change-Id: I203c2a75820f8acc079a5c9751d1c04daf6f3a16
repopick: allow running from a subdir of ANDROID_BUILD_TOP
Change-Id: I6dfcd5dfe700174ed87dc8627b23519c62b4cb27
envsetup: hmm repopick
Change-Id: I483cb36721f31dbf1f67e46cbe8a306b2a9e2c15
Conflicts:
envsetup.sh
Diffstat (limited to 'envsetup.sh')
-rw-r--r-- | envsetup.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/envsetup.sh b/envsetup.sh index 7fdfbba..d1f32ef 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -27,6 +27,7 @@ Invoke ". build/envsetup.sh" from your shell to add the following functions to y - aospremote: Add git remote for matching AOSP repository - mka: Builds using SCHED_BATCH on all processors - reposync: Parallel repo sync using ionice and SCHED_BATCH +- repopick: Utility to fetch changes from Gerrit. - installboot: Installs a boot.img to the connected device. - installrecovery: Installs a recovery.img to the connected device. @@ -2063,6 +2064,11 @@ alias mmmp='dopush mmm' alias mkap='dopush mka' alias cmkap='dopush cmka' +function repopick() { + T=$(gettop) + $T/build/tools/repopick.py $@ +} + # Force JAVA_HOME to point to java 1.7 or java 1.6 if it isn't already set. # # Note that the MacOS path for java 1.7 includes a minor revision number (sigh). |