From fa2a53931047827ddfb53a89e28e0c57a6e8d55e Mon Sep 17 00:00:00 2001 From: Daniel Knittl-Frank Date: Sat, 19 Mar 2011 12:12:25 +0100 Subject: [PATCH] Add notice about immediate pushing on forking page permissions are fixed up after a project was forked, which usually takes several minutes. During this timeframe pushing will not work and generate an error on the client side. Inform users about this issue. --- cgi/regproj.cgi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cgi/regproj.cgi b/cgi/regproj.cgi index eb08f39..f6a13b8 100755 --- a/cgi/regproj.cgi +++ b/cgi/regproj.cgi @@ -246,13 +246,16 @@ EOT } my $forkentry = ''; +my $forknote = ''; if ($name =~ m#/#) { $name =~ s#^(.*)/##; - $forkentry = ''.$1.'/' + $forkentry = ''.$1.'/'; + $forknote = '

Note that it takes a few minutes to fork a project. Trying to push immediately will fail. Please wait a few minutes before attempting to push.

'; } print < -- 2.11.4.GIT
Project name:$forkentry.git