philip@tigris.org wrote:
>Author: philip
>Date: Tue Mar 4 12:53:32 2003
>New Revision: 5200
>
>Modified:
> trunk/tools/dev/stress.pl
>Log:
>stress.pl doesn't have enough options... so add -W to create
>repositories using -bdb-txn-nosync and -P to create larger files.
>
>* tools/dev/stress.pl
> (init_repo): Add -bdb-txn-nosync stuff
> (populate): Add file padding stuff.
> (ParseCommandLine): Add -P and -W.
> ("Main"): Pass -P and -W. Some time ago I was asked about the
> fixed seed, so add a comment.
>
>
>
>Modified: trunk/tools/dev/stress.pl
>==============================================================================
>--- trunk/tools/dev/stress.pl (original)
>+++ trunk/tools/dev/stress.pl Tue Mar 4 12:53:32 2003
>@@ -84,11 +84,12 @@
> # Repository check/create
> sub init_repo
> {
>- my ( $repo, $create ) = @_;
>+ my ( $repo, $create, $no_sync ) = @_;
> if ( $create )
> {
> rmtree([$repo]) if -e $repo;
> my $svnadmin_cmd = "svnadmin create $repo";
>+ $svnadmin_cmd = "$svnadmin_cmd --bdb-txn-nosync" if $no_sync;
> system( $svnadmin_cmd) and die "$svnadmin_cmd: failed: $?\n";
>
M-x untabify? (Yes, I know you didn't add tabs -- but now's the time to
kill them off.)
--
Brane Čibej <brane_at_xbc.nu> http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 5 01:03:54 2003