Mercurial > public > mercurial-scm > hg-stable
diff mercurial/localrepo.py @ 8707:0550dfe4fca1
commit: editor reads file lists from provided context
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 01 Jun 2009 14:51:47 -0500 |
parents | 25e9c71b89de |
children | b9e0ddb04c5c |
line wrap: on
line diff
--- 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