diff -r 25e9c71b89de -r 0550dfe4fca1 mercurial/localrepo.py --- 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