diff -r c48d069163d6 -r b18ce742566a mercurial/commands.py --- a/mercurial/commands.py Sun Jun 12 08:51:11 2005 -0800 +++ b/mercurial/commands.py Sun Jun 12 10:18:32 2005 -0800 @@ -178,7 +178,7 @@ try: text = open(opts['logfile']).read() except IOError: pass - repo.commit(relpath(repo, files), text) + repo.commit(relpath(repo, files), text, opts['user'], opts['date']) def debugaddchangegroup(ui, repo): data = sys.stdin.read() @@ -524,7 +524,9 @@ "cat|dump": (cat, [], 'hg cat [rev]'), "commit|ci": (commit, [('t', 'text', "", 'commit text'), - ('l', 'logfile', "", 'commit text file')], + ('l', 'logfile', "", 'commit text file'), + ('d', 'date', "", 'data'), + ('u', 'user', "", 'user')], 'hg commit [files]'), "debugaddchangegroup": (debugaddchangegroup, [], 'debugaddchangegroup'), "debugchangegroup": (debugchangegroup, [], 'debugchangegroup [roots]'),