NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/53085: patch -R can't undelete files



>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



Home | Main Index | Thread Index | Old Index