I am starting to use mercurial at work, and one of the OS projects I contribute to will be switching to mercurial in the near future as well. How much effort would it be to write a plugin for hg support, and is there a starting point or a core API that I would need to target? Thanks, Darren