mercurial/localrepo.py
changeset 8707 0550dfe4fca1
parent 8706 25e9c71b89de
child 8709 b9e0ddb04c5c
--- a/mercurial/localrepo.py	Mon Jun 01 14:11:32 2009 -0500
+++ b/mercurial/localrepo.py	Mon Jun 01 14:51:47 2009 -0500
@@ -809,8 +809,7 @@
             wctx = context.workingctx(self, (p1, p2), text, user, date,
                                       extra, changes)
             if editor:
-                wctx._text = editor(self, wctx,
-                                    changes[1], changes[0], changes[2])
+                wctx._text = editor(self, wctx)
             ret = self.commitctx(wctx, True)
 
             # update dirstate and mergestate