[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 5119 - in trunk/subversion: svnadmin include libsvn_fs tests tests/libsvn_fs tests/clients/cmdline/svntest libsvn_repos

From: <cmpilato_at_collab.net>
Date: 2003-02-26 21:20:20 CET

brane@tigris.org writes:

> Modified: trunk/subversion/svnadmin/main.c
> ==============================================================================
> --- trunk/subversion/svnadmin/main.c (original)
> +++ trunk/subversion/svnadmin/main.c Wed Feb 26 13:52:07 2003
> @@ -229,11 +235,18 @@
> struct svnadmin_opt_state *opt_state = baton;
> svn_repos_t *repos;
> apr_hash_t *config;
> -
> + apr_hash_t *fs_config = NULL;
> +
> + if (opt_state->bdb_txn_nosync)
> + {
> + fs_config = apr_hash_make (pool);
> + apr_hash_set (fs_config, "bdb-txn-nosync", 14, "1");
> + }
> +

Please, please don't hard-code this string here (and everywhere else).
Make a nice #define in svn_fs.h. Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Feb 26 21:22:31 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.