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

Re: [PATCH] Add a '--fsfs-no-repsharing' flag to svnadmin

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Tue, 20 Jul 2010 23:07:40 +0300

Simon Atanasyan wrote on Tue, Jul 20, 2010 at 19:51:47 +0400:
> + apr_hash_set(fs_config, SVN_FS_CONFIG_FSFS_REP_SHARING,
> + APR_HASH_KEY_STRING,
> + (opt_state->fsfs_no_rep_sharing ? "0" : "1"));
> +
> apr_hash_set(fs_config, SVN_FS_CONFIG_BDB_TXN_NOSYNC,
> APR_HASH_KEY_STRING,
> (opt_state->bdb_txn_nosync ? "1" : "0"));

So we're using stringified booleans? I thought usually we use existence/lack
of the key as the test.
Received on 2010-07-20 22:09:14 CEST

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.