It is currently not possible to add the --ignore-ancestry option during a SVN merge process via Netbeans merge dialog. This option is especially handy if you get tons of svn:merginfo changes automatically upon merging a branch to trunk on the root level. I know svn:mergeinfo has its use, but if I want to sacrifice this use for not getting hundreds of svn:merginfo commits after merging, I want to deactivate ancestry tracking. A simple checkbox like in Subversive Eclipse Plugin would be nice.
Forgot to add: my NetBeans Version is 6.8
> A simple checkbox like in Subversive Eclipse Plugin would be nice.
i don't like the Eclipse way of adding a checkbox for every single switch for every versioning command. The UI becomes too crowded and absolutely unable to comprehend. I am afraid that adding the checkbox will open doors for future requests for other switches and we'll end up with dozens of control fields in the UI. On the other hand i doubt we're able to tell without user's help when the switch should or should not be used. For example it seems useless to keep svn:mergeinfo when merging a whole branch but hard to say for 100%,
Maybe an expandable area with advanced options could be added, maybe your suggestion is right, i have no idea. I'll let someone from UI decide (adding honza and petr on CC)
Created attachment 126928 [details]
Additional options accessible through Advanced... button
I agree with Comment #2 in that surfacing all possible options is not always practical for various reasons. In this case, if I understand it right, all the possible options would actually be command line parameters ? In that case we could provide the option to add arbitrary command line parameters. Through an Advanced... button a simple dialog would show up with one line permitting to enter arbitrary command line params. (labeled something like "Additional svn parameters"). If we considered to show such text input line directly in the Merge dialog, we would provide more complete info at once but on the other hand we would make the UI less clear for many users who do not want this. Hence the suggestion to hide it under the Advanced... button. As for the location of the button, bottom left corner seems a viable compromise mainly because the dialog contents layout changes depending on what is selected in the upper combo. Thus there would be no stable enough position for the button inside the pane..
In 95% cases we do not run any command (we have a java subversion client), so displaying a text line accepting additional parameters does not make sense. I eventually decided to add a checkbox to the panel. If there's another request for adding additional switches, checkboxes or other control fields, i will consider adding something like an expandable section revealing more options. Currently there would be just one checkbox which would probably look weird.
Integrated into 'main-golden', will be available in build *201301290001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Ondrej Vrabec <email@example.com>
Log: #182885 - Add option for "--ignore-ancestry" SVN switch in merge dialog