On Fri, Oct 16, 2009 at 3:31 AM, Jon Nicoll <[email protected]> wrote: > Hi all > I'm using TortoiseHg 0.8.3 on an XP machine which I use for program > development. I use the windows utility DebugView to view debug output > sent by my program to the windows debug mechanism via > OutputDebugString and its variants. > > Unfortunately I'm seeing that TortoiseHg also outputs a lot of of debug > information using the same mechanism. This kind of thing: > > [3256] [THG] DllGetClassObject clsname = CLSID_TortoiseHg2 > [3256] [THG] CShellExt::GetOverlayInfo: myTortoiseClass = M > [3256] [THG] DllGetClassObject clsid = {B456DBA1-7BF4-478C-937A-05130C2C212E} > [3256] [THG] DllGetClassObject clsname = CLSID_TortoiseHg1 > [3256] [THG] CShellExt::GetOverlayInfo: myTortoiseClass = A > [3256] [THG] DllGetClassObject clsid = {B456DBA6-7BF4-478C-937A-05130C2C212E} > [3256] [THG] DllGetClassObject clsname = CLSID_TortoiseHg6 > [3256] [THG] CShellExt::GetOverlayInfo: myTortoiseClass = ? > [2832] [THG] [C] findHgRoot(E:\ASL0658\.svn): NO repo found > [2832] [THG] [C] hasHgDir: PathIsDirectory("E:\0658\service_test\.hg") -> > 0, in 16 ticks > [2832] [THG] [C] findHgRoot(D:\Documents and Settings\jnicoll\UserData): > NO repo found > [2832] [THG] [C] findHgRoot(D:\Documents and Settings\LocalService): NO > repo found > [2832] [THG] [C] findHgRoot(D:\Program Files): NO repo found > [2832] [THG] [C] findHgRoot(E:\0658): NO repo found > [2832] [THG] [C] findHgRoot(E:\ASL0658\Changes): NO repo found > [2832] [THG] [C] findHgRoot(E:\09289963ec639b503392): NO repo found > [2832] [THG] [C] findHgRoot(E:\0658\.svn): NO repo found > > etc. (The [2832]process ID is added by DebugView in this case; the [THG] > is TortoiseHG's own, I think) > > This is a perfectly reasonable thing to have during development. But could > it be removed in releases please? It gets in the way of other things... > > (alternatively, if there's some mechanism to prevent such output in a > release build I would like to know of it - thanks)
You can build the shell extension yourself with the solution file in the repository. I think the messages are disabled when you build a release build. If I remember that wrong, it's still very easy to figure out how to disable them in the code. -- Steve Borho ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Tortoisehg-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

