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 Regards, ------------------------------------------------------------------------------ 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

