vendor: import repopick from android-7.1

Add repopick script from CM

patchset 4: cybojenix
  clean up the script:
    remove fetching from github
    cleaned up fetching locations of binaries
    if ANDROID_BUILD_TOP isn't defined, error out

PS 5:
  Added back the check if fetch succeeded.
  Fixed verbose print about fetching.

patchset 6:
  final changes
    fix detecting ANDROID_BUILD_TOP
    send all relavant data to stderr

- Add function description from LineageOS

Change-Id: If67c5f178d03fadd8b79b1908f4a9cb231efbb28

repopick: Add a way to checkout instead of cherrypick

This helps if you want to take a commit and its dependencies, and not
just a particular commit

Change-Id: Ib245cce560c7b0d6fd03198a8c69a13d4720a4cb

repopick: Allow picking batch of commits with the same Change-Id

Gerrit does allow assigning the same Change-Id for multiple commits. This patch allows picking them properly.

Change-Id: Idedc64f58eebe41a0d212c72329d15acff24efb9

Make repopick support gerrit 2.9

Change-Id: I5b5fcfdfb69fd8639a7170f68966817ba1bb98b7

repopick: skip a cherry-pick if its already been merged

Change-Id: I280b4945344e7483a192d1c9769c42b8fd2a2aef

repopick: open changes are either NEW or OPEN, not just OPEN

Gerrit's API is terrible. I believe it was written by monkeys.

Change-Id: I8ec97a1e4277b1ee89070976c5d0994ee178cf79

repopick: support specifying a range of commits to pick

* for example: repopick 12345-123450

Change-Id: I58e26125d3e8e836637ccd41d60cb56ab488e999

repopick: remove symbols from author and committer name

Change-Id: I3885ac89c2d1e2a72d8d95212faff00338ad3e3a

repopick: allow specifying a topic to pick all commits from

Change-Id: I4fb60120794a77986bf641de063a8d41f4f45a23

repopick: cleanup some redundancy

Change-Id: Ic1ad5e717d1bfc47cf8137cf2fe71bfd5d3456c7
2 files changed
tree: 43503e27f0f130c9a00b5be75749ec25309b5ca4
  1. build/
  2. charger/
  3. config/
  4. overlay/
  5. prebuilt/
  6. sepolicy/
  7. utils/
  8. Android.mk