Pull all data during cloneunified
authorGregory Szorc <gps@mozilla.com>
Sun, 21 Jul 2013 21:53:34 -0700
changeset 8 c390365395d92e97911567f7691ecb3267405f17
parent 7 aa0a5b5cbed1f533cd5dd2318299701cf859863f
child 9 916cf879e9a7cb3af1a7f167c4195288fc8bfa2d
push id2
push usergszorc@mozilla.com
push dateMon, 22 Jul 2013 06:02:53 +0000
Pull all data during cloneunified
__init__.py
--- a/__init__.py
+++ b/__init__.py
@@ -104,17 +104,17 @@ def cloneunified(ui, dest='gecko', **opt
     from mozautomation.repository import resolve_trees_to_uris
 
     repo = hg.repository(ui, ui.expandpath(dest), create=True)
 
     for r in ('esr17', 'release', 'beta', 'aurora', 'central', 'inbound'):
         tree, uri = resolve_trees_to_uris([r])[0]
         ui.warn('Pulling changesets from %s\n' % uri)
         peer = hg.peer(ui, {}, uri)
-        result = repo.pull(peer, heads=[peer.lookup('default')])
+        result = repo.pull(peer)
         ui.write('%s\n' % result)
 
 
 @command('treestatus', [], _('hg treestatus [TREE] ...'))
 def treestatus(ui, *trees, **opts):
     """Show the status of the Mozilla repositories.
 
     If trees are open, it is OK to land code on them.