summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSitaram Chamarty <sitaram@atc.tcs.com>2012-04-22 19:49:56 +0530
committerSitaram Chamarty <sitaram@atc.tcs.com>2012-04-22 22:43:45 +0530
commit6b65e7853fe373169f9e9ff54688f0f53d416ec6 (patch)
treed5c35b9169293ca1b4405717b682edef40a122b8
parentinstall should fail more gracefully if the '-ln' directory does not exist (diff)
downloadgitolite-gentoo-6b65e7853fe373169f9e9ff54688f0f53d416ec6.tar.gz
gitolite-gentoo-6b65e7853fe373169f9e9ff54688f0f53d416ec6.tar.bz2
gitolite-gentoo-6b65e7853fe373169f9e9ff54688f0f53d416ec6.zip
(minor) add quotes to make repo name stand out in error message
-rw-r--r--src/lib/Gitolite/Conf/Load.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Gitolite/Conf/Load.pm b/src/lib/Gitolite/Conf/Load.pm
index 6878a70..8f1ebfe 100644
--- a/src/lib/Gitolite/Conf/Load.pm
+++ b/src/lib/Gitolite/Conf/Load.pm
@@ -209,7 +209,7 @@ sub load_1 {
}
if ( -f "gl-conf" ) {
- _warn "split conf not set, gl-conf present for $repo" if not $split_conf{$repo};
+ _warn "split conf not set, gl-conf present for '$repo'" if not $split_conf{$repo};
my $cc = "gl-conf";
_die "parse $cc failed: " . ( $! or $@ ) unless do $cc;
@@ -218,7 +218,7 @@ sub load_1 {
$repos{$repo} = $one_repo{$repo};
$configs{$repo} = $one_config{$repo} if $one_config{$repo};
} else {
- _die "split conf set, gl-conf not present for $repo" if $split_conf{$repo};
+ _die "split conf set, gl-conf not present for '$repo'" if $split_conf{$repo};
}
}