[PATCH 1 of 2 STABLE] make: introduce a target to clean everything but packages

Pierre-Yves David pierre-yves.david at ens-lyon.org
Sat Jul 30 08:43:43 EDT 2016



On 07/30/2016 02:12 PM, Yuya Nishihara wrote:
> On Sat, 30 Jul 2016 13:07:56 +0200, Pierre-Yves David wrote:
>> On 07/29/2016 04:31 PM, Yuya Nishihara wrote:
>>> On Fri, 29 Jul 2016 00:52:48 +0200, Pierre-Yves David wrote:
>>>> # HG changeset patch
>>>> # User Pierre-Yves David <pierre-yves.david at ens-lyon.org>
>>>> # Date 1469745599 -7200
>>>> #      Fri Jul 29 00:39:59 2016 +0200
>>>> # Branch stable
>>>> # Node ID a52f8af0393b37ab6ddd8de4d91ee7d9cf2c36aa
>>>> # Parent  387bdd53c77e9f61bd7b0d491717440f7f57563a
>>>> make: introduce a target to clean everything but packages
>>>
>>> Seems fine.
>>>
>>> I'd rather add clean/distclean pair, but that might not be good for stable.
> 
> I was thinking about whether "clean" should remove packages or not. "dist"
> directory isn't removed by "clean", but "packages" is, which seems inconsistent.
> I slightly prefer standard clean/distclean than cleanbutpackages/clean.

according to matt comment in issue5262 he wants clean to remove packages.

https://bz.mercurial-scm.org/show_bug.cgi?id=5262#c7

I would myself agree with you about a clean/distclean target.

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list