Hi Nathan,
Thanks for sending this out! I wanted to share that yt installs (if
you run "yt bootstrap_dev" two other extensions, which let you
interact with bitbucket, and put in a plug for the "remotebranches"
extension, which you have to install yourself.
With yt you get the BitBucket extension and the cedit extension. So
with cedit you can do:
hg addsource some_name https://some/place
and then it shows up in your pull/push. So this is a good way to
interact with forks!
You can also create bitbucket repos from the command line with "hg
bbcreate" and you can see incoming/outgoing changesets with "hg
bbforks". The help functions for these have a few more options.
And, remotebranches might be my new favorite. You can get it here:
https://bitbucket.org/durin42/hg-remotebranches
What it does is, if you have aliases (either from editing .hg/hgrc
yourself or by using addsource above) for different repos, it tracks
with fake tags the tip of each. So now in my yt repo I have (for
instance)
[22:21][~/yt/yt]$ hg tags
ytanalysis/yt 6237:1b4b1087f896
tip 6237:1b4b1087f896
ytanalysis/stable 6233:e6227ef4338b
ytanalysis/geometry_handling 5660:2d81eb713419
The tags ytanalysis/yt , ytanalysis/stable and
ytanalysis/geometry_handling mean the tips of each of those branches
in the repo aliased as ytanalysis. This is a super easy way to track
what's the tip of different branches in each repo that you commonly
push/pull from.
-Matt
On Tue, Aug 7, 2012 at 8:19 PM, Nathan Goldbaum
Hi all,
Sam Skillman posted a link to a very useful listing of mercurial extensions on google+ from a stackoverflow discussion. They're so useful that I want to bring them to the attention of the yt and enzo development community.
http://stackoverflow.com/questions/1869040/what-are-the-best-and-must-have-h...
To turn on any of the extensions, you'll need to add an [extensions] section to your hgrc (if it's not already there) and under that heading turn on the extensions you want to use. Here's what mine looks like right now:
[extensions] mq = config = /u/ngoldbau/Tools/yt-x86_64/src/yt-supplemental/cedit hgbb = /u/ngoldbau/Tools/yt-x86_64/src/yt-supplemental/hgbb/hgbb.py hgext.extdiff = color = pager = fetch = graphlog = record =
The color and pager extensions are particularly revolutionary for my usual mercurial workflow.
Hope others find this as useful as I do :)
Cheers,
-Nathan
-- You received this message because you are subscribed to the Google Groups "enzo-dev" group. To post to this group, send email to enzo-dev@googlegroups.com. To unsubscribe from this group, send email to enzo-dev+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/enzo-dev?hl=en.