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

Re: TSVN 1.3.2 & external Merge tool (Araxis) with /readonly parameter ...

From: Molle Bestefich <molle.bestefich_at_gmail.com>
Date: 2006-03-31 21:00:30 CEST

Stefan Küng wrote:
> Molle Bestefich wrote:
> > If you shove random garbage at some program, it should err out.
> > It should definitely NOT pretend all is well.
>
> Not really. If you pass invalid params to it, then it should error out.
> But ignore everything it doesn't know.

I disagree wholeheartedly, so let's not discuss it anymore :-).

> Of course! It's always a bug in TSVN.

I agree wholeheartedly.
...Just kidding :-).

> What do you suggest in this case? Provide yet another option to ommit
> the param? But then some diff tools will know a 'readonly' param but
> have it named differently, so what about those? A text box to enter the
> param the external diff tool uses for 'readonly'? I'm starting to feel
> sick just thinking of the bloating settings dialog...

I think it should be specifiable somewhere.
Perhaps a registry key that says 'TortoiseMerge.exe /readonly "%1"
"%2"' per default.

Then again, using a different diff application than TMerge seems to be
something that people do relatively often, so an option exposed in the
GUI might make sense.

A combo box where you can choose TortoiseMerge along with a number of
diff apps that we know about would be good, I think. You could have a
"User specified" option and a text box which either shows the chosen
diff app and parameters in grayed-out text, or is editable (when "user
specified" is chosen in the combo).

OTOH, maybe a combo box is really enough in itself. Then anyone who
wants to customize beyond that will have to use the registry.

In that case, TSVN would have to learn to leave the registry key alone
when the option in the combo box hasn't been changed, so that users
who change an unrelated option and save the settings doesn't have
his/her custom registry keys overwritten.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Mar 31 21:00:47 2006

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.