On Mon, Jan 17, 2011 at 06:19:50PM -0600, [email protected] wrote:
> Antoine> On Mon, 17 Jan 2011 23:37:07 +0100
> Antoine> brett.cannon <[email protected]> wrote:
> >> +
> >> +To undo a patch, do::
> >> +
> >> + patch -R -p0 < patch.diff
> >> +
>
> Antoine> Or, simply and more reliably, use the corresponding VCS
> Antoine> incantation ("svn revert -R ." or "hg revert -a").
>
> I prefer Brett's solution. It's one command instead of one command per VCS.
> It works with other version control systems and provides me the opportunity
> to save a copy I can restore later.
"hg revert" saves files before reverting as *.orig.
Oleg.
--
Oleg Broytman http://phdru.name/ [email protected]
Programmers don't die, they just GOSUB without RETURN.
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com