Commits

Thomas Pelletier committed 4650d99

we don't need iniparse anymore.

Comments (0)

Files changed (1)

 
 Requirements:
 mercurial
-iniparse: http://iniparse.googlecode.com/files/iniparse-0.3.1.tar.gz
 
 Use:
 hg pusha
 
 from mercurial.i18n import _
 from mercurial import commands, cmdutil, exntesions, hg, util
-import ConfigParser, os
+import ConfigParser, os
 
-def pushall(ui, repo):
+def pushall(ui, repo, **opts):
     """The Publishall core function. Makes your life easier."""
     userrc = os.sep.join([repo.root, '.hg', 'hgrc'])
     ini = ConfigParser.RawConfigParser()
     ui.status("%s paths found\n" % len(repos))
     for path in repos:
         ui.status("* pushing to %s\n" % path[0])
-        commands.push(ui, repo, path[1])
+        commands.push(ui, repo, path[1], None, opts)
     return 0
 
 cmdtable = {