Fixing my branches

Nathan Goldbaum nathan12343 at gmail.com
Fri Mar 4 15:46:50 UTC 2016


On Fri, Mar 4, 2016 at 9:40 AM, Brandon McCaig <bamccaig at gmail.com> wrote:

> On Thu, Mar 03, 2016 at 10:50:14PM +0100, Arne Babenhauserheide wrote:
> > You can set a repository on BitBucket as non-publishing in the
> > main admin pane. When you then clone from it, your changesets
> > are draft phase so you can rewrite them locally at will without
> > having to delete the fork.
>
> But keeping the draft phase doesn't do anything to remove the
> changesets on the server, unless I'm missing something... Is
> there a convenient way to remove the modified changesets on the
> server (side note: does it support obsoletion markers/evolve
> yet)?
>

There is, but for now it's a beta test that Sean Farley needs to opt your
account into manually. You can stop by the #bitbucket channel on freenode
to ask him about it.

For example, take a look at this repo, which has some hidden commits:

https://bitbucket.org/ngoldbaum/yt/commits/all?search=all()

This works with a fork-based pull request workflow too, although you need
to manually update the pull request when you push changes that obsolete it.
Evolve also still has some rough edges when you are working with a remote
server, even one you completely control, so you have to be ok with fixing
things when they break. Hopefully by the time evolve moves fully into core
mercurial this will all be fixed though.


> > I hit a bug with pull-requests which shows up using draft
> > phase, though. I already reported it (including a test script,
> > which I’d prefer to share once it works seamlessly), but it
> > might take a few weeks to fix.
>
> Maybe I'm missing something because I'm so tired, but you didn't
> seem to explain what the bug was. Are you refraining from that
> for a reason (e.g., a vulnerability) or can you tell us what it
> specifically was?
>
> Regards,
>
>
> --
> Brandon McCaig <bamccaig at gmail.com> <bambams at castopulence.org>
> Castopulence Software <https://www.castopulence.org/>
> Blog <http://www.bambams.ca/>
> perl -E '$_=q{V zrna gur orfg jvgu jung V fnl. }.
> q{Vg qbrfa'\''g nyjnlf fbhaq gung jnl.};
> tr/A-Ma-mN-Zn-z/N-Zn-zA-Ma-m/;say'
>
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20160304/226a5815/attachment-0002.html>


More information about the Mercurial mailing list