mercurial/commands.py
changeset 266 4af7677de4a9
parent 264 4c1d7072d5cd
child 268 1634a7ea6748
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -325,7 +325,7 @@ def parents(ui, repo, node = None):
         if n != hg.nullid:
             ui.write("%d:%s\n" % (repo.changelog.rev(n), hg.hex(n)))
 
-def patch(ui, repo, patches, opts):
+def patch(ui, repo, patches, **opts):
     """import an ordered set of patches"""
     try:
         import psyco
@@ -372,7 +372,7 @@ def pull(ui, repo, source):
     cg = repo.getchangegroup(other)
     repo.addchangegroup(cg)
 
-def rawcommit(ui, repo, files, rc):
+def rawcommit(ui, repo, files, **rc):
     "raw commit interface"
 
     text = rc['text']