-
-
Notifications
You must be signed in to change notification settings - Fork 776
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document how to apply patch from mercurial to git #193
Comments
I think this can go in committing.rst |
Wouldn't this be better in |
gitdevs.rst (Mercurial for git developers) might go away, as proposed in #120 About adding it to gitbootcamp.rst, it's fine by me :) |
Does |
If it works, let's use |
Several patches on the tracker have already been created with |
I believe git patches do not work with Rietveld, so people have often been asked to resubmit. In any case, the top of the file indicates format. |
Alright just got around trying out If we want to document
|
FWIW there's also Mozilla's hg-patch-to-git-patch, with which the entire workflow can be shortened to:
|
+1 for About |
How I do it:
In the CPython mercurial repo, re-create the patch using --git parameter:
hg diff --git > issueNNNN-git.patch
In the CPython git repo, create and switch to a new branch. Apply the patch into CPython git repository:
git apply /path/to/issueNNNN-git.patch
Commit, push, and open the PR.
The text was updated successfully, but these errors were encountered: