<div dir="ltr">Hi folks,<div><br></div><div>Here is the process I just used for exporting a pull request to GitHub.  It went incredibly smoothly.  I will put this in a migration document as well.</div><div><br></div><div>Step 0: Make sure you have hg-git installed (it is pip installable) and enabled in your ~/.hgrc .  Enabling it looks like this:</div><div><br></div><div>[extensions]</div><div>hggit=</div><div><br></div><div>Now, here are the steps:</div><div><br></div><div> 1. Fork <a href="http://github.com/yt-project/yt">http://github.com/yt-project/yt</a></div><div> 2. In your yt source repository, update to the latest changeset of your pull request.</div><div> 3. If it does not have a bookmark, create one with "hg bookmark". It can be something like "hg bookmark whatever_i_want_to_call_it"</div><div> 4. Edit your .hg/hgrc in your yt repository.  Under [paths] add a github one.  For me, it looks like this:</div><div><br></div><div>[paths]</div><div>default = ssh://<a href="http://hg@bitbucket.org/MatthewTurk/yt">hg@bitbucket.org/MatthewTurk/yt</a></div><div>ytanalysis = ssh://<a href="http://hg@bitbucket.org/yt_analysis/yt">hg@bitbucket.org/yt_analysis/yt</a><br></div><div>gh = git@github.com:MatthewTurk/yt</div><div>ghyt = git@github.com:yt-project/yt</div><div><br></div><div>You will need to modify `gh` here.</div><div><br></div><div> 5. Now, check what you're going to export.  "hg outgoing -r whatever_i_want_to_call_it gh" will show you.  Make sure that this matches what you anticipate.</div><div> 6. If it all looks good, push it *with the bookmark*.  "hg push -B whatever_i_want_to_call_it gh" will do this.</div><div> 7. Reopen the pull request on GitHub, and decline your pull request on BitBucket.</div><div><br></div><div>Here is the one I just did: <a href="https://github.com/yt-project/yt/pull/1346">https://github.com/yt-project/yt/pull/1346</a></div><div><br></div><div>This should make things very smooth to transition.  Since we're not yet *accepting* things on GitHub, I would encourage folks to start moving their long-term PRs.  (does that sound right, Nathan and Kacper?)</div><div><br></div><div>-Matt</div></div>