[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: Blair Zajac <blair_at_orcaware.com>
Date: Mon, 20 Dec 2010 22:34:46 -0800

On 12/20/10 8:30 PM, C. Michael Pilato wrote:
> 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).

What about ~/.subversion/cli or ~/.subversion/command-line-client. If somebody
wants to copy an existing configuration from another user, they just can't copy
~/.subversion now.

Blair
Received on 2010-12-21 07:35:37 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.