On Wed, 2013-02-20 at 13:08 +0800, Paul Wise wrote:

> I split the patch up into three patches:

In addition to these patches, here is one to make mr not print anything
for SVN/CVS repositories when running mr -q fetch and other situations.

-- 
bye,
pabs

http://wiki.debian.org/PaulWise
From 8753b9da83e1754781c76e3ed9dc5e6d4d2f8187 Mon Sep 17 00:00:00 2001
From: Paul Wise <p...@debian.org>
Date: Sun, 10 Mar 2013 13:14:17 +0800
Subject: [PATCH 4/4] When in quiet mode, do not show messages about skipping
 undefined commands

---
 debian/changelog | 1 +
 mr               | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 54b9516..e9a3688 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,6 @@
 mr (1.15) unstable; urgency=low
 
+  * When in quiet mode, do not show messages about skipping undefined commands
   * Make quiet mode show output if there is some. Closes: #694031
   * Pass a fake terminal to subcommands when mr is run in a terminal
 
diff --git a/mr b/mr
index 3bb800d..1696c44 100755
--- a/mr
+++ b/mr
@@ -798,7 +798,7 @@ sub action {
 			return FAILED;
 		}
 		else {
-			print STDERR "mr $action: no defined action for $vcs repository $fulldir, skipping\n";
+			print STDERR "mr $action: no defined action for $vcs repository $fulldir, skipping\n" unless $quiet;
 			return SKIPPED;
 		}
 	}
-- 
1.8.2.rc3

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to