NetBSD Problem Report #53085
From dholland@macaran.eecs.harvard.edu Sat Mar 10 00:21:04 2018
Return-Path: <dholland@macaran.eecs.harvard.edu>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 0CE527A172
for <gnats-bugs@gnats.NetBSD.org>; Sat, 10 Mar 2018 00:21:04 +0000 (UTC)
Message-Id: <20180310002033.B39D86E295@macaran.eecs.harvard.edu>
Date: Fri, 9 Mar 2018 19:20:33 -0500 (EST)
From: dholland@eecs.harvard.edu
Reply-To: dholland@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: patch -R can't undelete files
X-Send-Pr-Version: 3.95
>Number: 53085
>Category: bin
>Synopsis: patch -R can't undelete files
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Mar 10 00:25:00 +0000 2018
>Originator: David A.Holland
>Release: NetBSD 8.99.9 (20171207)
>Organization:
>Environment:
System: NetBSD macaran 8.99.9 NetBSD 8.99.9 (MACARAN) #46: Sun Jan 21 21:26:19 EST 2018 dholland@macaran:/usr/src/sys/arch/amd64/compile/MACARAN amd64
Architecture: x86_64
Machine: amd64
>Description:
I had a patch that removed some files, and I wanted to reverse-apply
it (with -R) to undo some version control lossage, but our patch
fails: it asks for a file to patch, and even if you specify the proper
path for the deleted file by hand it fails.
Using -p doesn't change the behavior.
Had to install gnu patch to do it.
>How-To-Repeat:
as above
>Fix:
dunno
(Contact us)
$NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.