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

[PATCH] Add a --config-dir option

From: Shlomi Fish <shlomif_at_vipe.stud.technion.ac.il>
Date: 2003-07-19 21:05:19 CEST

This patch adds a --config-dir option which overrides the configuration
directories. For instance:

svn checkout --config-dir $HOME/myconf/svn/ http://localhost/svn/repos/

Will read the configuration out of $HOME/myconf/svn instead of
$HOME/.subversion and the global config file.

Here's the log:

<<<
Added a --config-dir option to svn to override the configuration directory
with a new per-session parameter.

* subversion/svnadmin/main.c
  Added the svnadmin__config_dir option and configured it for all the
  options.
  (main): Added the processing of the config_dir option.
  (subcommand_create): added the config_dir param to svn_config_get_config

* svn_config.h
  Modified the declaration and documentation of svn_config_get_config
  to accept an overriding config_dir parameter.

* subversion/libsvn_wc/log.c
  Removed the call to svn_config_get_config which seems like a leftover
  from ancient times.

* subversion/libsvn_subr/config.c
  (get_category_config): added the config_dir param and made it override
  the other directories in case it is set.
  (svn_config_get_config): added the config_dir param and passed it to
  get_category_config

* subversion/clients/cmdline/cl.h
  Added the svn_cl__config_dir_opt option.
  Added the config_dir parameter to the opt_state structure.

* subversion/clients/cmdline/main.c
  Added the config-dir option to the command line processing, and enabled
  it in all sub-commands.
  (main): Added processing of the svn_cl__config_dir_opt, and passed
  config_dir to svn_config_get_config.
>>>

Regards,

        Shlomi Fish

----------------------------------------------------------------------
Shlomi Fish shlomif@vipe.technion.ac.il
Home Page: http://t2.technion.ac.il/~shlomif/

An apple a day will keep a doctor away. Two apples a day will keep two
doctors away.

        Falk Fish

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Sat Jul 19 21:06:30 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.