[Svnmerge] [PATCH] Read command line defaults from config file

Rich Williams perldog at gmail.com
Thu Sep 21 10:41:56 PDT 2006


On 9/21/06, Michael Haggerty <mhagger at alum.mit.edu> wrote:
>
> For boolean options, this might imply that you need inverse options to
> be able to override options set in the config file.  For example, if the
> config file lists "--show-changes", it would be useful to be able to
> specify "--no-show-changes" on the command line.

That sounds like an idea, but I'm a little worried about how complicated
it might get. I guess also, some options will never make sense in a config
file (-r ?), so perhaps the logic needs to get a lot smarter. Hmph. Not sure
my Python skills are up to that just yet, I'll have a go.

> Better would be if you could override the config file via the command
> line, using an option like "--no-config" or "--config-dir=BLAH" (the
> latter option is available in svn).  That would be useful to users who
> have multiple "environments" and would also help with testing--tests
> could specify their own config files to test the config file feature itself.

I think that's a really good idea, and I'll try and put something like that
in the next version of the patch.

Have fun,

Rich



More information about the Svnmerge mailing list