diff allpaths.py @ 1:f8703c9e2fb9

D'oh, actually push to the correct path.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 19 Feb 2013 17:44:04 -0800
parents 6f92e4c814d1
children b1d440f1027a
line wrap: on
line diff
--- a/allpaths.py	Tue Feb 19 17:29:34 2013 -0800
+++ b/allpaths.py	Tue Feb 19 17:44:04 2013 -0800
@@ -28,11 +28,11 @@
     # Push!
     for path in paths:
         try:
-            mercurial.commands.push(ui, repo, **push_opts)
+            mercurial.commands.push(ui, repo, path[1], **push_opts)
         except Exception as e:
             if not opts.get('ignore_errors'):
                 raise
-            ui.warn(_('error pushing to %s: %s') % (path, e))
+            ui.warn(_('error pushing to %s: %s') % (path[1], e))
 
 
 cmdtable = {