some parts of mercurial are working on the JVM right now through Jython 1. get Jython 2.5b1 from http://www.jython.org/ 2. install it on $HOME 3. hg clone http://selenic.com/repo/hg 4. cd hg 5. ~/jython2.5b1/jython setup.py --pure build_py -c -d . build_ext -i build_mo
--pure Uses the pure python modules rather than the C versions 6. ~/jython2.5b1/jython hg version Example mb...@mbana-desktop:~/jython/mercurial-stuff/hg$ ../../jython2.5b1/ jython Jython 2.5b1 (trunk:5903:5905, Jan 9 2009, 16:01:29) [Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.)] on java1.6.0_10 Type "help", "copyright", "credits" or "license" for more information. >>> mb...@mbana-desktop:~/jython/mercurial-stuff/hg$ ../../jython2.5b1/ jython ./hg version *** failed to import extension hgext.imerge: No module named imerge Mercurial Distributed SCM (version b8d750daadde+20090217) Copyright (C) 2005-2008 Matt Mackall <[email protected]> and others This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. from my testing, i got hg add and hg init to work, unfortunately hg clone doesn't. you might want to visit #jython on freenode, if you're interested. if you want to see the test coverage; in the hg repo there's a 'tests' $ cd tests && ../../../jython2.5b1/jython run-tests.py result: http://pastebin.com/f3f265316 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MercurialEclipse" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/mercurialeclipse?hl=en -~----------~----~----~----~------~----~------~--~---
