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

[PATCH] svnmucc doesn't honor --config-dir for auth stuff

From: Roderich Schupp <roderich.schupp_at_googlemail.com>
Date: Wed, 24 Aug 2011 14:28:46 +0200

Hi,

svnmucc doesn't honor option --config-dir when it comes to stuff
stored below config_dir/auth.

To reproduce:
- access a remote repository that will store information below
config_dir/auth, e.g.
  username/password or permanently accepted SSL server certificate,
using svn command
  without --config-dir (i.e. default config_dir ~/.subversion is used)
- try to access the same repository with "svnmucc --config-dir
/non/existent/directory ..."
  and wonder why svnmucc doesn't prompt again for the above information

Suggested patch against trunk attached.

[[[
Make svnmucc honor option --config-dir for auth stuff.

* tools/client-side/svnmucc/svnmucc.c
  (create_ra_callbacks) Add parameter config_dir, pass it to
svn_cmdline_create_auth_baton.
  (execute) Pass config_dir to create_ra_callbacks.
]]]

Cheers, Roderich

Received on 2011-08-24 14:29:19 CEST

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