Fix argument processing for patch and rawcommit
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Fix argument processing for patch and rawcommit
manifest hash:
fc76fcd22ca69185bbec1855f72dda5b692e03f3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCpVNMywK+sNU5EO8RAn2nAJ4gBbdn8K6xN55Igh6J2ZJEMgRGBACgr0Xb
KkjbnOrNL5uQmBHx59C7HdY=
=qsQi
-----END PGP SIGNATURE-----
--- a/mercurial/commands.py Mon Jun 06 10:52:19 2005 -0800
+++ b/mercurial/commands.py Mon Jun 06 23:57:00 2005 -0800
@@ -325,7 +325,7 @@
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 @@
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']