On Mon, Apr 23, 2012 at 10:11 AM, Mike Jarmy <[email protected]> wrote: > On Sun, Apr 22, 2012 at 2:04 AM, Yuya Nishihara <[email protected]> wrote: >> >> Mike Jarmy wrote: >> > I need to write a python script to programatically analyze some large hg >> > repositories using the mercurial python api. To do this, I need to get >> > "import mercurial" to work in a python script. >> > >> > Is it possible to set up my Windows python environment so that it points >> > to >> > my TortoiseHg 2.3.1 installation? That seems like it might be the >> > simplest >> > way to get "import mercurial" to work properly in python. >> >> If you've already have Python, the easiest way is to install bdist >> package: >> >> https://bitbucket.org/tortoisehg/thg-winbuild/downloads#download-62086 >> http://thread.gmane.org/gmane.comp.version-control.mercurial.general/17012 >> >> There's also a hackable Mercurial package: >> >> http://mercurial.selenic.com/wiki/HackableMercurial > > That worked, thanks! > > Any chance we could get a python 2.7 version posted :-) ? Vim 7.3 expects > python 2.7 (if you use python to script vim anyway)
It's on my list. The only blocker at the moment is to find x64 and x86 versions of the svn-python bindings for 2.7. -- Steve ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Tortoisehg-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

