(some minor changes)

- whitespace change to t/reset
  - remove dbg line accidentally left in in Load.pm
  - add a bit more explanation to 'writable'
This commit is contained in:
Sitaram Chamarty 2012-03-30 15:14:25 +05:30
parent 9bbc5703e3
commit 7c6728af89
4 changed files with 9 additions and 7 deletions

View file

@ -70,7 +70,7 @@ sub conf {
chdir($GL_ADMINDIR);
my $conf = `find . -name "*.conf" | xargs cat`;
msg( "SEVERE", "fallthru in NAME rules; see docs" ) if $conf =~ m(NAME/);
msg( "SEVERE", "NAME rules; see docs" ) if $conf =~ m(NAME/);
msg( "SEVERE", "subconf command in admin repo; see docs" ) if $conf =~ m(NAME/conf/fragments);
msg( "SEVERE", "mirroring used; see docs" ) if $conf =~ m(config +gitolite\.mirror\.);
}

View file

@ -232,7 +232,6 @@ sub load_1 {
my @repos = memberships( 'repo', $repo );
my @users = memberships( 'user', $user, $repo );
dbg(\@users);
trace( 3, "memberships: " . scalar(@repos) . " repos and " . scalar(@users) . " users found" );
for my $r (@repos) {

View file

@ -8,6 +8,9 @@ use Gitolite::Easy;
=for usage
Usage: gitolite writable <reponame>|@all on|off
Disable/re-enable pushes to all repos or named repo. Useful to run
non-git-aware backups and so on.
'on' enables, 'off' disables, writes (pushes) to the named repo or all repos.
With 'off', any subsequent text is taken to be the message to be shown to

View file

@ -14,7 +14,7 @@ use Cwd;
my $workdir = getcwd();
confreset;confadd '
repo foo/..*
repo foo/..*
C = u1 u2 u3
RW+ = CREATOR
RW = WRITERS