diff mercurial/localrepo.py @ 8994:4a1187d3cb00

commit: report modified subrepos in commit editor
author Matt Mackall <mpm@selenic.com>
date Wed, 01 Jul 2009 01:05:24 -0500
parents e67e5b60e55f
children 7b19cda0fa10
line wrap: on
line diff
--- a/mercurial/localrepo.py	Wed Jul 01 00:41:14 2009 -0500
+++ b/mercurial/localrepo.py	Wed Jul 01 01:05:24 2009 -0500
@@ -872,7 +872,7 @@
             cctx = context.workingctx(self, (p1, p2), text, user, date,
                                       extra, changes)
             if editor:
-                cctx._text = editor(self, cctx)
+                cctx._text = editor(self, cctx, subs)
 
             # commit subs
             if subs: