Possibly fix pushtree
authorGregory Szorc <gps@mozilla.com>
Mon, 22 Jul 2013 00:55:24 -0700
changeset 18 b5059675e80e142e982cafdf601682429865c849
parent 17 838e18f486db459d6e20c2ab3cb18ec07df4c042
child 19 26fbd682dfce1d932628d32296712bd624ff9c4c
push id8
push usergszorc@mozilla.com
push dateMon, 22 Jul 2013 07:55:28 +0000
Possibly fix pushtree
--- a/__init__.py
+++ b/__init__.py
@@ -212,17 +212,17 @@ def pushtree(ui, repo, tree=None, rev=No
     if not tree:
         raise util.Abort(_('A tree must be specified.'))
     tree, uri = resolve_trees_to_uris([tree], write_access=True)[0]
     if not uri:
         raise util.Abort("Don't know about tree: %s" % tree)
-    return push(ui, repo, rev=rev, dest=uri)
+    return push(ui, repo, rev=[rev], dest=uri)
 @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.