On 12.04.2009 10:44, TK Soh wrote: > FWIW, I just pushed my prototype code onto bitbucket, updated to > tortoisehg stable. > > http://bitbucket.org/tksoh/thg-shellext/ > > To install, you need to have mercurial installed (from source), > mingw32 (with make utility) & inno setup. Then follow these [somewhat > painful] steps: > > 1. uninstall you existing tortoisehg shell extension, if any > > 2. chdir into the c++ prototype tortoisehg repo clone > > 3. register the tortoisehg python-based shellext (to provide some > registry settings and the standard context menu to help debugging): > > python tortoisehg.py --debug > > 4. build the ThgShell.DLL in tortoise/shellext directory: > > cd tortoish\shellext > make > > 5. register the DLL using the ThgShell.iss inno setup file. Note: this > will add experimental set of TortoiseHg submenus to explorer context > menu. > > 6. run the taskbar.py in tortoise directory to start the RPC server. > This will add a TortoiseHg menu to Window's taskbar. You can terminal > the RPC server with the taskbar's Exit menu at anytime. > > 7. restart Explorer. > > I simply share the work in case it would somehow be beneficial to the > upcoming work by Mark Hammond and others, since I have no doubt Mark > will be able to write the whole thing from the ground up and be surely > of far better quality. So, please feel free to ignore if you don't see > much value in it. > > Warp speed, to TortoiseHG.
I've created another prototype fork of this at http://bitbucket.org/abuehl/thg-shellext/ and created and pushed the following 3 changes: 1662:9fa35043dbbf | 2009-04-18 19:28 +0200 | adrian: add new tortoise\shellext\dirstate.cpp 1663:eb2ded6ea314 | 2009-04-22 00:07 +0200 | adrian: tortoise\shellext: use new dirstate.cpp for overlays 1664:1b7225d16fc7 | 2009-04-22 10:51 +0200 | adrian: tortoise\shellext\dirstate.cpp: replace spaces with tabs With these, I can see the overlay icons for files (directories not implemented) on my WinXP SP3. And it's really fast. This fork directly reads the dirstate file of the Mercurial repos from within the C++ shell extension. The separate python process is not used in this variant. Side note: I've borrowed (and adapted) code from CuteHg for this. ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ Tortoisehg-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop
