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

Re: Default commandline args

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Mon, 20 Dec 2010 23:30:05 -0500

On 12/20/2010 05:28 PM, Hyrum K. Wright wrote:
> In issue #3765, I suggest the possibility of a CVS-style config file
> wherein a user could specify a set of default arguments for a given
> subcommand. For example, 'svn diff' would default to 'svn diff -x -p'
> if the config file had an entry for such. Thinking this would be an
> SMOP, I jumped in...only to discover that it isn't.
>
> The actual implementation isn't hard, I'm just wondering about where
> the configuration should live. We have a ~/.subversion/config file,
> but these options aren't for the client library, they are specific to
> the commandline client. This makes me think that we should have a
> separate file for the commandline client, and that it may want to be
> something like ~/.svnrc or something equally commandline-ish.

~/.svnrc makes perfect sense to me (with /etc/svnrc as a system-wide
default, if you wanna roll that way).

-- 
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand
Received on 2010-12-21 05:30:42 CET

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.