Learn about some b2g repos
authorGregory Szorc <gps@mozilla.com>
Sun, 21 Jul 2013 23:56:42 -0700
changeset 13 f5848ffdb34efbc499d52d7cb18f9f3b316fd85d
parent 12 62331886f4afb9b2d88ffbe66b1e18ecbdfb2f30
child 14 1b090642a2d0a6c94491fb0453af956307a55818
push id4
push usergszorc@mozilla.com
push dateMon, 22 Jul 2013 06:56:47 +0000
Learn about some b2g repos
__init__.py
mozautomation/repository.py
--- a/__init__.py
+++ b/__init__.py
@@ -172,19 +172,20 @@ def cloneunified(ui, dest='gecko', **opt
     to run this command to ensure optimal storage of data.
     """
     path = ui.expandpath(dest)
     repo = hg.repository(ui, path, create=True)
 
     success = False
 
     try:
-        for tree in ('esr17', 'release', 'beta', 'aurora', 'central',
+        for tree in ('esr17', 'b2g18', 'release', 'beta', 'aurora', 'central',
             'inbound'):
             peer = hg.peer(ui, {}, tree)
+            ui.warn('Pulling from %s.\n' % peer.url())
             result = repo.pull(peer)
         res = update(ui, repo, rev='central/default')
         success = True
         return res
     finally:
         if not success:
             shutil.rmtree(path)
 
--- a/mozautomation/repository.py
+++ b/mozautomation/repository.py
@@ -23,32 +23,36 @@ TREE_ALIASES = {
     'sc': ('services',),
     'bs': ('build',),
     'b-s': ('build',),
     'build-system': ('build',),
     'gfx': ('graphics',),
     'mozilla-release': ('release',),
     'mozilla-aurora': ('aurora',),
     'mozilla-beta': ('beta',),
+    'mozilla-b2g18': ('b2g18',),
+    'b2g-inbound': ('b2ginbound',),
 
-    'releases': ('esr17', 'release', 'beta', 'aurora', 'central'),
+    'releases': ('esr17', 'b2g18', 'release', 'beta', 'aurora', 'central'),
 }
 
 BASE_READ_URI = 'https://hg.mozilla.org/'
 BASE_WRITE_URI = 'ssh://hg.mozilla.org/'
 
 REPOS = {
     # Release repositories.
     'central': 'mozilla-central',
     'aurora': 'releases/mozilla-aurora',
     'beta': 'releases/mozilla-beta',
     'release': 'releases/mozilla-release',
     'esr17': 'releases/mozilla-esr17',
+    'b2g18': 'releases/mozilla-b2g18',
 
     # Integration repositories.
+    'b2ginbound': 'integration/b2g-inbound',
     'build': 'projects/build-system',
     'fx-team': 'integration/fx-team',
     'graphics': 'projects/graphics',
     'inbound': 'integration/mozilla-inbound',
     'places': 'projects/places',
     'services': 'services/services-central',
 
     # Twigs