On Wed, Sep 24, 2008 at 4:58 AM, TK Soh <[EMAIL PROTECTED]> wrote: > On Wed, Sep 24, 2008 at 4:53 AM, Kurt Granroth > <[EMAIL PROTECTED]> wrote: >> TK Soh wrote: >>> On Wed, Sep 24, 2008 at 1:33 AM, Kurt Granroth >>> <[EMAIL PROTECTED]> wrote: >>>> I have sudden need for GUI support for the Forest extension. I have >>>> only rudimentary python experience but the code looks pretty >>>> straightforward. Maybe just replacing 'clone' with 'fclone', 'update' >>>> with 'fupdate', etc would work. Alternatively, I could maybe just >>>> duplicate all the functions with a forest equivalent. Seems reasonable >>>> to me. >>>> >>>> The sticking point is that I am very much NOT setup for python >>>> development under Windows. The source installation instructions look >>>> pretty heavy, too, for such a simple change. >>>> >>>> I see that the file I'd need to modify is in the library.zip file. It's >>>> already in byte-code by that point. So maybe there is a way to modify >>>> the file using only the already-installed code? >>>> >>>> Specifically, might it be possible to edit a local copy of the file, >>>> then force python to generate its bytecode, then unzip + replace the >>>> file + re-zip the library.zip file? Would/could that work? >>> >>> This is a little over my head right now. >>> >>> Would you be able to run Tortoisehg (hgtk) on a unix/linux box? That >>> might simplify the setup required for development. >> >> Hrm... perhaps if it is over your head then I should take the hint that >> it's going to be waaaay over this python newbie's head ;-) >> >> I'm too stubborn to back down, though, so I'll give it a try anyway and >> report back. > > Don't let anyone stop you, please. ;-) > >> You're right that setting up the environment on Linux would be far >> easier. Alas, I would *still* need to get it all into Windows >> eventually so that would be only a temporary solution. I am a lot more >> comfortable in that environment, though, so maybe I'll look into that as >> well. > > IMHO, if you really are serious about hacking TortoiseHg, which > seemed obviously so, then perhaps you should try invest some time in > setting it up on Windows. > > It's hard, but not that hard. :-)
Oops, forgot to copy mailing list. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Tortoisehg-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

