On 9/15/2020 2:06 PM, Mark Sapiro wrote:
On 9/15/20 10:44 AM, Dennis Putnam wrote:
I guess I don't know how to use patch. Better documentation would be
helpful.
man patch?
In all fairness, as I recall "-p" isn't explained all that well.
The diff file has paths to file(s) to patch, something like
--- foo/bar/baz.py.orig
+++ foo/bar/baz.py
and you (and the diff) need to be in foo's parent directory when you run
patch. If you're in "bar" you'll get that error and you'll need to tell
it to strip "foo" -- or however many levels of subdirs -- from the paths.
Dima
------------------------------------------------------
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/