Source

hgit /

Filename Size Date modified Message
492 B
361 B
who:   matt@genges.com
what:  shell script
when:  made September 2008. published December 2008.
where: everywhere
why:   my projects are all hg, but when the occasional git project crops up, I 
still find myself typing "hg <blah>".  there's only room in my brain for one 
day-to-day scm command.

installation: put it in your path

usage: hgit [hg or git command]
example: hgit status; hgit pull; hgit commit; hgit push

what it does: recursively look for .git or .hg then invoke git or hg.