# HG changeset patch # User mpm@selenic.com # Date 1119405181 28800 # Node ID fda7bb480020cd5d8178b1e3146a287c28722e31 # Parent 2fe8d66e307590807f41876b2fa1f6aa35f2a630 [PATCH] rawcommit fix again -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [PATCH] rawcommit fix again From: Christopher Li Rawcommit need to allow no argument when using file list options. Chris manifest hash: 049977598f355ad9e54eeb18f8831fc4c1fee36d -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCuMR9ywK+sNU5EO8RArXFAJ98iZaSIzsc0KBgtMW5v4yVuWfpZQCdH2yQ bYOgCTRNapYqq5YtnOHfErk= =1Poe -----END PGP SIGNATURE----- diff -r 2fe8d66e3075 -r fda7bb480020 mercurial/commands.py --- 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()