repopick: Adapt to BlissRoms
Signed-off-by: Jackeagle <jackeagle102@gmail.com>
Change-Id: I8ff2a3c967469c7a05e017a6684fd502c889222f
diff --git a/build/tools/repopick.py b/build/tools/repopick.py
index e9ed4b8..7f19fcc 100755
--- a/build/tools/repopick.py
+++ b/build/tools/repopick.py
@@ -154,11 +154,11 @@
if __name__ == '__main__':
# Default to BlissRoms Gerrit
- default_gerrit = 'https://review.blissroms.com'
+ default_gerrit = 'https://review.blissroms.org'
parser = argparse.ArgumentParser(formatter_class=argparse.RawDescriptionHelpFormatter, description=textwrap.dedent('''\
repopick.py is a utility to simplify the process of cherry picking
- patches from BlissRoms's Gerrit instance (or any gerrit instance of your choosing)
+ patches from BlissRoms Gerrit instance (or any gerrit instance of your choosing)
Given a list of change numbers, repopick will cd into the project path
and cherry pick the latest patch available.
@@ -437,9 +437,9 @@
print('Trying to fetch the change from GitHub')
if args.pull:
- cmd = ['git pull --no-edit github', item['fetch'][method]['ref']]
+ cmd = ['git pull --no-edit BlissRoms', item['fetch'][method]['ref']]
else:
- cmd = ['git fetch github', item['fetch'][method]['ref']]
+ cmd = ['git fetch BlissRoms', item['fetch'][method]['ref']]
if args.quiet:
cmd.append('--quiet')
else:
@@ -454,7 +454,7 @@
# If not using the default gerrit or github failed, fetch from gerrit.
if args.verbose:
if args.gerrit == default_gerrit:
- print('Fetching from GitHub didn\'t work, trying to fetch the change from Gerrit')
+ print('Fetching from BlissRoms didn\'t work, trying to fetch the change from Gerrit')
else:
print('Fetching from {0}'.format(args.gerrit))
@@ -495,3 +495,4 @@
sys.exit(result)
if not args.quiet:
print('')
+