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

Re: svn_cmdline_init

From: <cmpilato_at_collab.net>
Date: 2003-07-19 19:33:42 CEST

Ben Collins-Sussman <sussman@collab.net> writes:

> I just noticed we have an svn_cmdline_init(). Apparently it calls
> apr_initialize(), sets the locale, and sets the error stream.
>
> In cmdline/main.c(), we call this func at line 565. But further down,
> we call svn_config_ensure (line 828). There's a big comment above
> that call, wishing it were folded into another function. Perhaps it
> should move into svn_cmdline_init()?

I don't think so. svn_cmdline_init() is (or should be) used by all
our commandline apps (svn, svnadmin, svnlook, etc). But we don't
necessary want all of those to ensure that you have a ~/.subversion
area. svnlook, for example, doesn't need such a thing. I can't
recall if svnadmin does or not.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jul 19 19:34:39 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.