On Sun, 2008-04-13 at 16:09 +0100, TK Soh wrote:
> On Thu, Apr 10, 2008 at 9:28 PM, Peer Sommerlund
> <[EMAIL PROTECTED]> wrote:
> > # HG changeset patch
> >  # User Peer Sommerlund <[EMAIL PROTECTED]>
> >  # Date 1207855013 -7200
> >  # Node ID d40121ae71d7bb14e239b843227c42b88f9e5635
> >  # Parent  70affe9c0fe8b574f147d135178d6292a99d8ac9
> >  overlay: Prefix registry key with "TortoiseHg"
> >
> >  Make it easier to spot the registry keys under ShellIconOverlayIdentifiers
> >  that have been added by TortoiseHg, by prefixing them with the
> >  string "TortoiseHg".
> >
> >  diff --git a/tortoise/iconoverlay.py b/tortoise/iconoverlay.py
> >  --- a/tortoise/iconoverlay.py
> >  +++ b/tortoise/iconoverlay.py
> >  @@ -256,7 +256,7 @@
> >      prog_id = "Mercurial.ShellExtension.%s" % classname
> >      desc = "Merucurial icon overlay shell extension for %s files" % 
> > name.lower()
> >      reg = [
> >  -        (_winreg.HKEY_LOCAL_MACHINE, 
> > r"Software\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\%s"
> >  % name) ]
> >  +        (_winreg.HKEY_LOCAL_MACHINE, 
> > r"Software\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\TortoiseHg%s"
> >  % name) ]
> >      cls = type(
> >              classname,
> >              (IconOverlayExtension, ),
> 
> This one just came to my mind: how does the installer handle this
> during upgrade, specifically on uninstalling the previous release?

At uninstall, it unregisters the tortoisehg.dll.  At upgrade, it just
registers the new DLL, which I assume is essentially a NOP if they're in
the same location.

-- 
Steve Borho ([EMAIL PROTECTED])
http://www.borho.org/~steve/steve.asc
Key fingerprint = 2D08 E7CF B624 624C DE1F  E2E4 B0C2 5292 F2C6 2C8C


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to