mercurial/commands.py
changeset 403 fda7bb480020
parent 401 af4848f83e68
child 404 a1ecef497721
--- a/mercurial/commands.py	Tue Jun 21 17:50:37 2005 -0800
+++ b/mercurial/commands.py	Tue Jun 21 17:53:01 2005 -0800
@@ -520,7 +520,7 @@
         os.kill(child, signal.SIGTERM)
         return r
 
-def rawcommit(ui, repo, flist, **rc):
+def rawcommit(ui, repo, *flist, **rc):
     "raw commit interface"
 
     text = rc['text']
@@ -531,7 +531,7 @@
         print "missing commit text"
         return 1
 
-    files = relpath(repo, flist)
+    files = relpath(repo, list(flist))
     if rc['files']:
         files += open(rc['files']).read().splitlines()