-
posts
-
How to Hide Inactive Branches by Default with Mercurial
mercurial usually shows inactive branches when running “hg branches” but
that’s kind of annoying if you have lots of old inactive branches. So I
recently set up my personal .hgrc to hide inactive branches by creating
an alias.
[alias]
branches = ...
-
Importing an svn repository into mercurial
Recently I’ve been forking svn repositories by converting them to
mercurial repositories and uploading them to
bitbucket. It’s fairly easy with the
mercurial convert
extension. Convert
is distributed with mercurial so if you have a recent version ...
-
Using Mercurial MQ
I recently started using mercurial’s mq
extension at work as I
found myself switching between changes a lot. I often had to set changes
I was currently working on aside to do a merge or fix something that was
more urgent. The mq extension makes th...
-
Using mercurial on windows with cygwin
So for the longest time, well, about 5 months, I have used the mercurial package in cygwin as my mercurial at work where I run windows on my desktop. I use cygwin as my terminal on windows because it's unix like and window's command line is a piec...
-
Mercurial and named branches and hgweb
Mercurial is a nice distributed SCM system written in python which I have been using at work and at on oss projects for a little while now. Mercurial allows three types of branching, cloning, named branches, and local branches. Each of these has i...
-
hg email and gmail
I just set up my e-mail settings with
Mercurial so that I can e-mail patches via
my Gmail account. I have
Debian installed on my machine which has
exim installed by default so it was pretty easy to set
up. I’m not terribly versed at setting up mai...
-
Setting output of a program to a variable in Windows Batch
I recently had to do this to get TortoiseMerge working with Mercurial within Cygwin. It turned out to be pretty easy and I couldn’t believe that a lot of people were saying that you had to route the output to a temporary file and then read it back...
-
Learning GTK2.0
Today I've been playing around with writing programs in GTK2.0. This has been on my todo list for a really long time, almost since college, but I've never got around to it. I've revived my old project gorbital and decided to rewrite it using GTK2....