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

Re: [PATCH] optionally disable normalization of working copy files in diff invocations

From: Matthias Gerstner <Matthias.Gerstner_at_ncp-e.com>
Date: Fri, 18 Jul 2014 11:32:57 +0200

Hi Julian,

> A better interface, the user would tell Subversion what they really want:
>
>   svn diff --load-my-actual-file-not-a-copy-of-it
>     # and I learnt that I won't have normalization in this case
>
> See the difference?

I agree, that's more generic.

> Then the question is, is it useful to have a dedicated command-line
> option as well? I think perhaps not. (There's always the ability to
> specify a config option on the command line using
> "--config-option=...".)

Having the configuration file options is sensible. I still find having
the explicit command line variant useful as most (or all?) other diff
related options are also there.
When the default stays as it is and files will be normalized then a user
unaware of this behaviour might wonder what happened. My first choice
would be to look at 'svn help diff' to see if there is something that
explains this.

Matthias

-- 
Matthias Gerstner, Dipl.-Wirtsch.-Inf. (FH)
Entwicklung
 
NCP engineering GmbH
Dombühler Straße 2, D-90449, Nürnberg
Geschäftsführer Peter Söll, HRB-Nr: 77 86 Nürnberg
 
Telefon: +49 911 9968-153, Fax: +49 911 9968-229
E-Mail: Matthias.Gerstner_at_ncp-e.com
Internet: http://www.ncp-e.com

Received on 2014-07-18 11:33:29 CEST

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.