hgext/rebase.py
changeset 8706 25e9c71b89de
parent 8702 3d44f1a68353
child 8934 9dda4c73fc3b
--- a/hgext/rebase.py	Mon Jun 01 14:11:19 2009 -0500
+++ b/hgext/rebase.py	Mon Jun 01 14:11:32 2009 -0500
@@ -174,11 +174,8 @@
         extra = {'rebase_source': repo[rev].hex()}
         if extrafn:
             extrafn(repo[rev], extra)
-        newrev = repo.commit(None,
-                            text=commitmsg,
-                            user=repo[rev].user(),
-                            date=repo[rev].date(),
-                            extra=extra)
+        newrev = repo.commit(text=commitmsg, user=repo[rev].user(),
+                             date=repo[rev].date(), extra=extra)
         repo.dirstate.setbranch(repo[newrev].branch())
         return newrev
     except util.Abort: