# HG changeset patch # User Thomas Arendsen Hein # Date 1119791903 -3600 # Node ID 2705d20f77c9f109c953f9d74ef7bb53c59f82b6 # Parent 430a1066992866b2f44cfaf527642b17b183a3a3 hg import checking for quiet mode didn't work. Fixed using the ui module. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hg import checking for quiet mode didn't work. Fixed using the ui module. manifest hash: 3418ba604188b5abb2554615aff0ae59f4fee882 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCvqsfW7P1GVgWeRoRAjWVAJ9eNW+GnTJGvXMLxr1uPy5wM40gcQCeP6QO 7qW+m8/YmXLLi+vn2ETyWrM= =UGui -----END PGP SIGNATURE----- diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -431,8 +431,7 @@ def import_(ui, repo, patch1, *patches, files = [] for l in f.read().splitlines(): l.rstrip('\r\n'); - if not quiet: - print l + ui.status("%s\n" % l) if l[:14] == 'patching file ': pf = l[14:] if pf not in files: