# HG changeset patch # User mpm@selenic.com # Date 1118131020 28800 # Node ID 4af7677de4a92658cefe9793a8c7163a72e90eaa # Parent 7ca05593bd302d799851450513928f291005d7b7 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----- diff -r 7ca05593bd30 -r 4af7677de4a9 mercurial/commands.py --- 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']