convert: display child command output if --debug (fix 878466138b57)
authorPatrick Mezard <pmezard@gmail.com>
Thu, 08 Jan 2009 14:26:30 +0100
changeset 7611 dafcc96c1285
parent 7610 878466138b57
child 7615 ab39d1813e51
convert: display child command output if --debug (fix 878466138b57)
hgext/convert/common.py
--- a/hgext/convert/common.py	Wed Jan 07 17:33:29 2009 -0800
+++ b/hgext/convert/common.py	Thu Jan 08 14:26:30 2009 +0100
@@ -228,7 +228,7 @@
             except TypeError:
                 pass
         cmdline = [util.shellquote(arg) for arg in cmdline]
-        if not self.ui.debug:
+        if not self.ui.debugflag:
             cmdline += ['2>', util.nulldev]
         cmdline += ['<', util.nulldev]
         cmdline = ' '.join(cmdline)