From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932790AbcGDJdL (ORCPT ); Mon, 4 Jul 2016 05:33:11 -0400 Received: from s3.sipsolutions.net ([5.9.151.49]:53842 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751562AbcGDJdI (ORCPT ); Mon, 4 Jul 2016 05:33:08 -0400 Message-ID: <1467624783.29577.1.camel@sipsolutions.net> Subject: Re: [PATCH v3 01/21] backports: move legacy and SmPL patch application into helper From: Johannes Berg To: "Luis R. Rodriguez" , backports@vger.kernel.org Cc: linux-kernel@vger.kernel.org, yann.morin.1998@free.fr, mmarek@suse.cz, sassmann@kpanic.de, "Luis R. Rodriguez" Date: Mon, 04 Jul 2016 11:33:03 +0200 In-Reply-To: <1415693712-23743-2-git-send-email-mcgrof@do-not-panic.com> (sfid-20141111_092101_147387_47EB0676) References: <1415693712-23743-1-git-send-email-mcgrof@do-not-panic.com> <1415693712-23743-2-git-send-email-mcgrof@do-not-panic.com> (sfid-20141111_092101_147387_47EB0676) Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.20.2-2 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2014-11-11 at 00:14 -0800, Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > This allows us to extend how backports uses patches for > different types of applications. This will later be used > for kernel integration support, for example. > > This should have no functional change. Obviously this patch was applied a long time ago, but you lied - it has a functional change: > +        if process.returncode != 0: > +            if not args.verbose: > +                logwrite("Failed to apply changes from %s" % > print_name) > +                for line in output: > +                    logwrite('> %s' % line) > +            raise Exception('Patch failed') vs. > -        if process.returncode != 0: > -            if not args.verbose: > -                logwrite("Failed to apply changes from %s" % > print_name) > -                for line in output: > -                    logwrite('> %s' % line) > -            return 2 This had a major impact on the devel/git-tracker.py tool. johannes