diff --git a/src/Gitolite/Rc.pm b/src/Gitolite/Rc.pm index 0b81bf8..7ed5cef 100644 --- a/src/Gitolite/Rc.pm +++ b/src/Gitolite/Rc.pm @@ -48,6 +48,7 @@ my $current_data_version = "3.0"; my $rc = glrc('filename'); do $rc if -r $rc; +_die "$rc seems to be for older gitolite" if defined($GL_ADMINDIR); # let values specified in rc file override our internal ones @rc{ keys %RC } = values %RC;