From 1370d424a794ec191966b81f4f975161a38895dc Mon Sep 17 00:00:00 2001 From: Marcin Floryan <marcin.floryan@gmail.com> Date: Fri, 02 Nov 2012 17:03:49 -0400 Subject: [PATCH] A failure to download dependencies fails the build. Otherwise we proceed with lots of errors anyway. --- src/com/gitblit/PagesFilter.java | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/com/gitblit/PagesFilter.java b/src/com/gitblit/PagesFilter.java index 11cdfa5..f88624e 100644 --- a/src/com/gitblit/PagesFilter.java +++ b/src/com/gitblit/PagesFilter.java @@ -77,6 +77,16 @@ } /** + * Determine if a non-existing repository can be created using this filter. + * + * @return true if the filter allows repository creation + */ + @Override + protected boolean isCreationAllowed() { + return false; + } + + /** * Determine if the action may be executed on the repository. * * @param repository -- Gitblit v1.9.1