diff hgext/fetch.py @ 14635:217b7d83afc3

cmdutil, logmessage: use ui.fin when reading from '-'
author Idan Kamara <idankk86@gmail.com>
date Wed, 08 Jun 2011 14:54:52 +0300
parents 517e1d88bf7e
children 6eb5bbaa1e73
line wrap: on
line diff
--- a/hgext/fetch.py	Wed Jun 15 17:04:06 2011 -0300
+++ b/hgext/fetch.py	Wed Jun 08 14:54:52 2011 +0300
@@ -122,7 +122,7 @@
 
         if not err:
             # we don't translate commit messages
-            message = (cmdutil.logmessage(opts) or
+            message = (cmdutil.logmessage(ui, opts) or
                        ('Automated merge with %s' %
                         util.removeauth(other.url())))
             editor = cmdutil.commiteditor