Tag: mercurial

Renaming directories in Mercurial by just changing the case

Today we experienced a new way in which Mercurial can fail you.  I’m not talking about performance, twisted workflows, etc.  This time we’re talking about Mercurial being unable to handle things that you can put into your repository in one

Tagged with: ,

My favorite Mercurial extension

What’s your favorite Mercurial extension?  Mine is the color extension!

It does all sorts of amazing syntax coloring for you, right on your consoles.  It basically makes all the diff outputs from hg colorized, and also modifies the status and qseries commands output to print the patch names in color based on their status.  And enabling it is as easy as putting the following two lines in your ~/.hgrc.  Of course, you can go all crazy and customize it all, but I find the default choice of colors mostly good (except for underlining stuff which makes them harder to read in my opinion.)

color =

Yes, it doesn’t simplify your workflow, and it doesn’t really do anything cool, SCM-wise, but trust me, once you enable it and get used to it, you can never go back to the usual dull hg output on your console.

Tagged with: ,