On Tue, May 19, 2009 at 2:41 PM, Steve Borho <st...@borho.org> wrote:
> On Wed, May 13, 2009 at 11:18 PM, TK Soh <teekay...@gmail.com> wrote:
>> On Thu, May 14, 2009 at 4:06 AM, Steve Borho <st...@borho.org> wrote:
>>> On Wed, May 13, 2009 at 9:07 PM, TK Soh <teekay...@gmail.com> wrote:
>>>>> That's what I did. I got the cmenu, but they don't bring up any GUI
>>>>> tools. The overlay icons are also missing from the folders. I vaguely
>>>>> recall some discussion on the cmenu issue, but don't recall any issue
>>>>> on the overlays (sorry I don't follow the list too closely these
>>>>> days). Should I be using crew repo or Adrian's repo?
>>>
>>> You should be using crew at this point.
>>>
>>>> Here I captured some of the DebugView's output:
>>>>
>>>> [2348] [THG] findHgRoot(C:\hg\hello\dir1): hgroot = 'C:\hg\hello' (found 
>>>> repo)
>>>> [2348] [THG] DirectoryStatus::read: can't open 'C:\hg\hello\.hg\thgstatus'
>>>> [2348] [THG] Dirstatecache::get: lstat(C:\hg\hello\.hg\dirstate) ok
>>>
>>> To get overlays on folders, you have to run 'hg thgstatus' or 'hgtk
>>> thgstatus' inside the repository.  This command is provided by the
>>> thgstatus extension now bundled in the hgext/ directory in the crew
>>> repository.  There's also a batch file in there that runs the command
>>> on a directory full of repositories.
>>>
>>>> [2348] [THG] LaunchCommand: "C:\TortoiseHg\hgtk.exe" commit
>>>> [2348] [THG] LaunchCommand: failed to launch
>>>>
>>>> I search the list archive and found some discussion on addition of
>>>> hgtk.bat file to overcome the problem on launching the GUI tools. Has
>>>> this been resolved in crew?
>>>
>>> The C++ cmenu doesn't know how to deal with a source install yet.
>>> It's hard-coded to run hgtk.exe (inside of a binary installer).  We
>>> need to support source installs eventually, but a clean solution
>>> hasn't presented itself.
>>>
>>> After thinking about it for a while, we should probably:
>>>
>>> 1) check in an hgtk.cmd batch file into the contrib directory
>>> 2) add hgtk.cmd to ThgShell.iss, so it gets included in the 'stub' install
>>> 3) make CShellExt::DoHgtk() fallback to hgtk.cmd if it cannot find hgtk.exe
>>
>> In this case, I should check back again one the source installation is
>> fixed. Thanks.
>
> I believe all of the source install issues have been fixed.  There is
> a README.txt file in win32/shellext that describes the steps necessary
> to run TortoiseHg as python source combined with the C++ shell
> extension.

Thanks for working on this. The instruction on the hgtk.cmd isn't very
clear, though I manage to figure it out.

> In a nutshell:
> * copy contrib/hgtk.cmd to win32/shellext and edit the hgtkpath var
> * run mingw32-make
> * build/run ThgShell.iss
> * restart explorer

Hopefully, some days later we will be able to install the shellext out
of the box, i.e. without have to copy the hgtk.cmd and edit the
hgtkpath. This is can help avoid confusion when the dir structure is
revised, or when other changes is done that would affect the use of
hgtk.cmd.

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
Tortoisehg-discuss mailing list
Tortoisehg-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

Reply via email to