[Python-Dev] devguide: Cover how to (un-)apply a patch.

Antoine Pitrou solipsis at pitrou.net
Tue Jan 18 00:14:11 CET 2011


On Mon, 17 Jan 2011 23:37:07 +0100
brett.cannon <python-checkins at python.org> wrote:
> +
> +To undo a patch, do::
> +
> +    patch -R -p0 < patch.diff
> +

Or, simply and more reliably, use the corresponding VCS incantation
("svn revert -R ." or "hg revert -a").

Regards

Antoine.




More information about the Python-Dev mailing list