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

Re: --no-newline vs. --strict

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Wed, 25 Feb 2015 14:28:20 +0000

Philip Martin wrote:

> Branko Čibej <brane_at_wandisco.com> writes:
>> The single usage of the --strict option is arguably complete nonsense:
>> the default docstring, which isn't displayed *anywhere*, is 'use strict
>> semantics' and ... means nothing at all. In actual usage, --strict is
>> hardly mnemonic for not printing trailing newlines.
>
> --strict originally did more. r845498, in 1.0, shows that --strict
> originally stripped both the the path prefix and the newline. r872554,
> in 1.6, limited --strict to a single path at which point it just
> stripped newlines.
>
>> Given all that, I propose we deprecate --strict and conflate the actual
>> option value with --no-newline, like this (this is trunk, untested):
>
> That looks like a good solution.

+1.

See also a previous discussion thread "--strict vs --no-newline", started 2014-06-09, <http://svn.haxx.se/dev/archive-2014-06/0023.shtml>, <http://mail-archives.apache.org/mod_mbox/subversion-dev/201406.mbox/%3C1402331950.91045.YahooMailNeo@web87705.mail.ir2.yahoo.com%3E>.

- Julian
Received on 2015-02-25 15:32:24 CET

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.