hgext/convert/common.py
changeset 7610 878466138b57
parent 7186 f77c8d8331ca
child 7611 dafcc96c1285
--- a/hgext/convert/common.py	Wed Jan 07 17:33:07 2009 -0800
+++ b/hgext/convert/common.py	Wed Jan 07 17:33:29 2009 -0800
@@ -228,7 +228,9 @@
             except TypeError:
                 pass
         cmdline = [util.shellquote(arg) for arg in cmdline]
-        cmdline += ['2>', util.nulldev, '<', util.nulldev]
+        if not self.ui.debug:
+            cmdline += ['2>', util.nulldev]
+        cmdline += ['<', util.nulldev]
         cmdline = ' '.join(cmdline)
         return cmdline