From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: bug#19402: Already-applied patches in 'origin' are automatically reversed Date: Wed, 17 Dec 2014 19:01:40 -0500 Message-ID: <87fvcd25cr.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44924) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1OXk-00047b-7U for bug-guix@gnu.org; Wed, 17 Dec 2014 19:02:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y1OXb-0006ZE-6A for bug-guix@gnu.org; Wed, 17 Dec 2014 19:02:12 -0500 Received: from debbugs.gnu.org ([140.186.70.43]:39981) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1OXb-0006Z8-2r for bug-guix@gnu.org; Wed, 17 Dec 2014 19:02:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Y1OXa-000236-L9 for bug-guix@gnu.org; Wed, 17 Dec 2014 19:02:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44867) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1OXB-00046F-5r for bug-guix@gnu.org; Wed, 17 Dec 2014 19:01:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y1OX3-0006ND-GH for bug-guix@gnu.org; Wed, 17 Dec 2014 19:01:37 -0500 Received: from world.peace.net ([50.252.239.5]:40989) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1OX3-0006L3-CI for bug-guix@gnu.org; Wed, 17 Dec 2014 19:01:29 -0500 List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: 19402@debbugs.gnu.org Currently, if a patch that we carry in Guix is taken upstream, and then we update the package, Guix will automatically reverse the patch without error. This behavior delayed my xorg-update work for several hours today (I was stumped and took a break), and I worry that patches that aren't needed for successful compilation (e.g. security fixes) could be automatically undone without anyone noticing. Perhaps the solution is to pass --force (not --batch) to 'patch'. What do you think? Mark