----- Original Message -----
> a) Landing code to inbound, fx-team, aurora, etc
> b) Pushing to Try
I have a script that handles pushing a range of commits to the repository of my
choice. This script is essentially:
for id in ${range}; do
git show --unified=3 --id=${id} --format="${stuff}" | patch-munging | $(cd
${hg_repo} && hg qimport -f --name ${id} -)
done
if ${inbound_push}; then
$(cd ${hg_repo} && hg pull -u)
fi
$(cd ${hg_repo} && hg qpush -a && hg push)
There are some other niceties (popping commits after pushing to try so the repo
is in a clean state afterwards, for instance), too, but nothing amazing.
> c) Fetching new commits
git pull
> d) Collaborating/sharing commits with others, especially hg<->git sharing
I usually just upload patches to a bug; I haven't yet found much use for
pushing WIP bits to public places.
> Is moz-git-tools the de facto standard for Mozilla developers? Are there
> other competing tools?
I don't use any of moz-git-tools except for git-bz, which I've found to be
invaluable. If I had to use hg to upload patches anywhere, I would be a sad
panda.
> Does anyone use hg-git (it has gotten *much* faster in the past year
> thanks to Facebook's investment)?
I have never even heard of this tool.
> I'm particularly interested in knowing if any Git developers have been
> able to eliminate local hg completely. i.e. you are fetching and pushing
> from/to Git repos exclusively. If so, what are you using? What
> limitations do you have?
I haven't tried this; having a separate m-c hg repo (for try pushes) and a
separate m-i hg repo (for commits) has not been a significant burden. And the
separate repos come in handy for helping with backouts or when I have to push
directly to central.
> Overall, how happy are you with your Git fetch/push workflows? Short of
> switching the canonical repositories to Git, what do you need to be more
> productive?
I'm pretty happy overall.
-Nathan
_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform