Skip to content
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

blog/2014/new-mercurial-workflow/ #386

Open
ahal opened this issue Oct 25, 2019 · 9 comments
Open

blog/2014/new-mercurial-workflow/ #386

ahal opened this issue Oct 25, 2019 · 9 comments
Labels

Comments

@ahal
Copy link
Owner

ahal commented Oct 25, 2019

https://ahal.ca/blog/2014/new-mercurial-workflow/

@ahal ahal added the comment label Oct 25, 2019
@ahal
Copy link
Owner Author

ahal commented Oct 25, 2019

Gregory Szorc wrote on 2014-11-08 17:52:57

Excellent post!

I guess you didn't know that firefoxtree automatically creates aliases for the Firefox repositories. i.e. `hg pull central` just works with no hgrc hacking needed.

This blog post inspired me to write up some Sphinx docs for firefoxtree tree so its awesomeness is fully realized. Stay tuned...

@ahal
Copy link
Owner Author

ahal commented Oct 25, 2019

ahal wrote on 2014-11-08 20:12:54

I didn't. I actually had a 'central = ... ' alias already, so I didn't notice. In the post I changed it to 'm-c' to differentiate it from the local tag, but I guess there's no need for that. Thanks for pointing it out though, I'll update the post.

@ahal
Copy link
Owner Author

ahal commented Oct 25, 2019

Gregory Szorc wrote on 2014-11-08 21:08:39

And https://mozilla-version-con... is live.

@ahal
Copy link
Owner Author

ahal commented Oct 25, 2019

Chris wrote on 2014-11-10 04:26:57

Thanks for sharing, Andrew. This was a great introduction to bookmarks and reviewboard. I'm going to throw out my old hg and mq shortcuts and try to stick with this new workflow. :)

@ahal
Copy link
Owner Author

ahal commented Oct 25, 2019

Mathiasdm wrote on 2014-11-10 06:29:47

"This is enough of a pain that I'd recommend avoiding user repositories for this purpose unless you
can figure out how to make them non-publishing."

I would propose you mention how to make them non-publishing, it only requires:

[phases]
publish = False

Nice post, by the way!

@ahal
Copy link
Owner Author

ahal commented Oct 25, 2019

ahal wrote on 2014-11-10 14:45:04

Good point. In the case of user repos, I don't think most people have
permission to ssh in and make this change (someone correct me if I'm wrong). But it's a necessary step no
matter where it lives. Updated!

@ahal
Copy link
Owner Author

ahal commented Oct 25, 2019

J. Ryan Stinnett wrote on 2014-11-11 05:34:52

What do the steps to rebase a long-lived feature branch look like with this workflow?

@ahal
Copy link
Owner Author

ahal commented Oct 25, 2019

ahal wrote on 2014-11-11 14:03:28

You mean a twig like alder or birch? As long as it's a repo firefoxtree knows about (https://hg.mozilla.org/hgcu... then it shouldn't be any different from rebasing on top of central.

hg rebase works similarly to git rebase. If there's a conflict it will suspend, you have to fix the conflict manually and then run `hg rebase --continue`.

@ahal
Copy link
Owner Author

ahal commented Oct 25, 2019

nthomas wrote on 2014-11-12 08:58:54

gps is already on this case, see https://bugzilla.mozilla.or...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant