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

--
Steve

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Tortoisehg-discuss mailing list
Tortoisehg-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

Reply via email to