Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jul 2018 21:46:30 -0600
From:      Alan Somers <asomers@freebsd.org>
To:        Piotr Pawel Stefaniak <pstef@freebsd.org>
Cc:        src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org,  svn-src-head@freebsd.org
Subject:   Re: svn commit: r334944 - in head/usr.bin/indent: . tests
Message-ID:  <CAOtMX2hZbOwvEXcyx-5dPpmbv2nB9ArQUKv_FF%2BQ3tOTZWdjzw@mail.gmail.com>
In-Reply-To: <201806110535.w5B5Zv7a017614@repo.freebsd.org>
References:  <201806110535.w5B5Zv7a017614@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 10, 2018 at 11:35 PM, Piotr Pawel Stefaniak <pstef@freebsd.org>
wrote:

> Author: pstef
> Date: Mon Jun 11 05:35:57 2018
> New Revision: 334944
> URL: https://svnweb.freebsd.org/changeset/base/334944
>
> Log:
>   indent(1): rename -nsac/-sac ("space after cast") to -ncs/-cs
>
>   Also update tests and the manpage.
>
>   GNU indent had the option earlier as -cs, let's not diverge
> unnecessarily.
>
> Added:
>   head/usr.bin/indent/tests/cs.0
>      - copied unchanged from r334943, head/usr.bin/indent/tests/sac.0
>   head/usr.bin/indent/tests/cs.0.pro
>      - copied, changed from r334943, head/usr.bin/indent/tests/sac.0.pro
>   head/usr.bin/indent/tests/cs.0.stdout
>      - copied unchanged from r334943, head/usr.bin/indent/tests/sac.
> 0.stdout
>   head/usr.bin/indent/tests/ncs.0
>      - copied unchanged from r334943, head/usr.bin/indent/tests/nsac.0
>   head/usr.bin/indent/tests/ncs.0.pro
>      - copied, changed from r334943, head/usr.bin/indent/tests/nsac.0.pro
>   head/usr.bin/indent/tests/ncs.0.stdout
>      - copied unchanged from r334943, head/usr.bin/indent/tests/
> nsac.0.stdout
> Deleted:
>   head/usr.bin/indent/tests/nsac.0
>   head/usr.bin/indent/tests/nsac.0.pro
>   head/usr.bin/indent/tests/nsac.0.stdout
>   head/usr.bin/indent/tests/sac.0
>   head/usr.bin/indent/tests/sac.0.pro
>   head/usr.bin/indent/tests/sac.0.stdout
> Modified:
>   head/usr.bin/indent/args.c
>   head/usr.bin/indent/indent.1
>   head/usr.bin/indent/tests/Makefile
>

When you remove old files, you need to add them to ObsoleteFiles.inc.
Otherwise, they linger around after an upgrade.  On my system the indent
tests are failing because the old sac and nsac files are still there.

-Alan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2hZbOwvEXcyx-5dPpmbv2nB9ArQUKv_FF%2BQ3tOTZWdjzw>