Submitter | Yuya Nishihara |
---|---|
Date | Jan. 9, 2016, 9:45 a.m. |
Message ID | <16099841acaa4fa42dff.1452332741@mimosa> |
Download | mbox | patch |
Permalink | /patch/12619/ |
State | Superseded |
Commit | c36fa631cb6ebfc1549127ab7f1d5cd542908283 |
Delegated to: | Martin von Zweigbergk |
Headers | show |
Comments
Patch
diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -5415,7 +5415,8 @@ def paths(ui, repo, search=None): if search: for name, path in sorted(ui.paths.iteritems()): if name == search: - ui.status("%s\n" % util.hidepassword(path.rawloc)) + if not ui.quiet: + ui.write("%s\n" % util.hidepassword(path.rawloc)) return if not ui.quiet: ui.warn(_("not found!\n"))