<div dir="ltr">Only comment is that if you run into trouble try installing hg-git from the hg-git repo:<div><br></div><div><a href="https://bitbucket.org/durin42/hg-git">https://bitbucket.org/durin42/hg-git</a></div><div><br></div><div>According to the maintainer it's overdue for a release.<br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 20, 2017 at 3:43 PM, Matthew Turk <span dir="ltr"><<a href="mailto:matthewturk@gmail.com" target="_blank">matthewturk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><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" target="_blank">http://github.com/yt-project/<wbr>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" target="_blank">hg@bitbucket.org/<wbr>MatthewTurk/yt</a></div><div>ytanalysis = ssh://<a href="http://hg@bitbucket.org/yt_analysis/yt" target="_blank">hg@bitbucket.org/yt_<wbr>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" target="_blank">https://github.com/yt-<wbr>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>
<br>______________________________<wbr>_________________<br>
yt-dev mailing list<br>
<a href="mailto:yt-dev@lists.spacepope.org">yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/<wbr>listinfo.cgi/yt-dev-spacepope.<wbr>org</a><br>
<br></blockquote></div><br></div></div></div>