[yt-dev] Oops

Nathan Goldbaum nathan12343 at gmail.com
Tue May 12 11:29:06 PDT 2015


This should be fixed now.

If you pulled during the time when the bad changes were available on the
main yt repo, you will need to strip some changes in your local copy:
http://paste.yt-project.org/show/5546/

You may need to turn on the strip extension in your .hgrc.

To prevent this from happening in the future, I'd strongly urge
contributors to *not* have yt_analysis/yt as the default path in the hgrc
file for the repo (located at $YT_REPO/.hg/hgrc). Instead, point your
default path at your fork and add an alias for the main yt repo.  Here is
what my repo's hgrc looks like:

[paths]
default = bb://ngoldbaum/yt
mainyt = bb://yt_analysis/yt

To pull from yt_analysis/yt, I just do "hg pull mainyt".  I *never* do "hg
push mainyt".

Please let us know if you encounter any issues related to this.  Sorry it
took so long to fix, but apparently we triggered a bug in bitbucket's PR
handling code that one of the bitbucket engineers had to work around to
manually strip the changes.

-Nathan

On Tue, May 12, 2015 at 8:23 AM, Michael Zingale <
michael.zingale at stonybrook.edu> wrote:

> I accidently pushed to the yt_analysis bitbucket instead of my fork -- can
> anyone let me know how to undo that?
>
> --
> Michael Zingale
> Associate Professor
>
> Dept. of Physics & Astronomy • Stony Brook University • Stony Brook, NY
> 11794-3800
> *phone*:  631-632-8225
> *e-mail*: Michael.Zingale at stonybrook.edu
> *web*: http://www.astro.sunysb.edu/mzingale
>
> _______________________________________________
> yt-dev mailing list
> yt-dev at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/attachments/20150512/b071ddf2/attachment.html>
-------------- next part --------------
_______________________________________________
yt-dev mailing list
yt-dev at lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org


More information about the yt-dev mailing list