On Sun, Apr 12, 2009 at 6:00 AM, Steve Borho <[email protected]> wrote:
> <note the subject change>
>
> On Sat, Apr 11, 2009 at 5:52 PM, Mark Hammond <[email protected]>
> wrote:
>>> I would be more than happy to get an excellent solution like the one
>>> you describe.
>>>
>>> This sounds a bit like we could get your help implementing this on
>>> TortoiseHG? (which would be fantastic indeed...)
>>
>> Yes, happy to help - although it will only be in spare time, so may take
>> some time to get moving :) I'll keep my eye on the list and keep an eye
>> for when I can help...
>
> I think what would help the most right now would be a bit of guidance.
> Can we take the C++ extension out of the tbzr installer as it is and write
> our own Python process for it? If not, what changes do we need to make
> to the C++ code?
>
> As for the Python process, I think if you give us a bit more detail on how
> it communicates with the C++ shim, a number of developers are willing
> to start working on it. Here's some specific questions:
>
> 1) How do the extensions discover the Python process?
> 2) How does it communicate (stdio, pipes, sockets)?
> 3) How does it handle multiple connections?
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.
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop