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.
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to