[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: rev 5200 - trunk/tools/dev

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-03-05 01:01:10 CET

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

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.