A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-March/109098.html below:

Suggest using mpatch in the FAQ

[Python-Dev] [Python-checkins] devguide: Suggest using mpatch in the FAQ [Python-Dev] [Python-checkins] devguide: Suggest using mpatch in the FAQEric Smith eric at trueblade.com
Sat Mar 12 00:14:46 CET 2011
On 03/11/2011 06:03 PM, antoine.pitrou wrote:
>   If you want to try out or review a patch generated using Mercurial, do::
>
> -   hg import --no-commit somework.patch
> +   patch -p1<  somework.patch
>
>   This will apply the changes in your working copy without committing them.
>   If the patch was not created by Mercurial (for example, a patch created by
>   Subversion and thus lacking any ``a``/``b`` directory prefixes in the patch),
> -add ``-p0`` to the above command.
> +replace ``-p0`` with ``-p1``.

Do you have this backwards? There is no -p0, it's already -p1.

Eric.
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4