mercurial/commands.py
changeset 452 a1e91c24dab5
parent 443 470a83212dda
child 460 6409d9a0df43
child 464 50da4bb9cab6
--- a/mercurial/commands.py	Thu Jun 23 17:37:47 2005 -0800
+++ b/mercurial/commands.py	Thu Jun 23 17:43:04 2005 -0800
@@ -553,7 +553,9 @@
     files = relpath(repo, list(flist))
     if rc['files']:
         files += open(rc['files']).read().splitlines()
-        
+
+    rc['parent'] = map(repo.lookup, rc['parent'])
+    
     repo.rawcommit(files, text, rc['user'], rc['date'], *rc['parent'])
  
 def recover(ui, repo):