Re: Review of invoke-diff-cmd-feature branch
From: Gabriela Gibson <gabriela.gibson_at_gmail.com>
Date: Tue, 21 May 2013 17:30:29 +0100
Because there is no option object that we can query from within
We have 4 (potential) diff commands -- diff-cmd, diff3-cmd,
That's a lot of courier parameters, and all of them are not
So, it would make sense to keep the process ignorant of what kind
Idea 1:
Make a command line options object we can query from anywhere
Idea 2:
Add a marker in front of a generic 'diff' option on the command line
ie: diff-cmd=diff would turn up in (say) svn_io_pick_diff_style() as
In svn_io_pick_diff_style(), we check whether the marker string is
'diff-cmd-svn-optiondiff' or
snip the marker bit ('...svn-option') from the payload, and use that
Not pretty, but, it saves us a lot of deprecation and extra code
|
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.