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

Default commandline args

From: Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>
Date: Mon, 20 Dec 2010 16:28:35 -0600

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.



Received on 2010-12-20 23:29:14 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.