◐ Shell
clean mode source ↗

Message 264496 - Python tracker

To create a patch accepted by Rietveld, you should clone the Mercurial
repository, apply your patch, and then regenerate the diff using
Mercurial:

Something like:

$ cd python_hg_clone
$ patch -p1 < ../git_patch.patch
$ hg diff > hg_diff.patch

To clone: hg clone https://hg.python.org/cpython/