changeset 266:4af7677de4a9

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-----
author mpm@selenic.com
date Mon, 06 Jun 2005 23:57:00 -0800
parents 7ca05593bd30
children 497aa6d276d2
files mercurial/commands.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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']