From 929e9fbde36477b2a66b1b0db5fedbaac397c012 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 19 Oct 2007 16:14:58 -0400 Subject: [PATCH] * Fix output of "mr config DEFAULT lib". --- debian/changelog | 3 ++- mr | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index b4ebe50..b94dc8b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,8 +4,9 @@ mr (0.5) UNRELEASED; urgency=low thing can be accomplished in a mrconfig by skipping a repo unless it exists, and printing a reminder on update. See the mrconfig file for an example. + * Fix output of "mr config DEFAULT lib". - -- Joey Hess Fri, 19 Oct 2007 15:53:15 -0400 + -- Joey Hess Fri, 19 Oct 2007 16:14:21 -0400 mr (0.4) unstable; urgency=low diff --git a/mr b/mr index a5a9131..4630f06 100755 --- a/mr +++ b/mr @@ -22,7 +22,7 @@ B [options] log B [options] register [repository] -B [options] config section [parameter=[value] ...] +B [options] config section ["parameter=[value]" ...] B [options] action [params ...] @@ -350,6 +350,7 @@ elsif ($action eq 'config') { exists $config{$topdir}{$section}{$_}) { print $config{$topdir}{$section}{$_}."\n"; $found=1; + last if $section eq 'DEFAULT'; } } if (! $found) { -- 2.39.5