Commits

Anonymous committed c4dd9fd

remove all remaining references to bzr

  • Participants
  • Parent commits f40876f

Comments (0)

Files changed (2)

File tortoise-hg.py

         from win32com.server import register
         register.UnregisterClasses(cls)
         sys.exit("Error: Failed to find mercurial module! Include the path to mercurial in PYTHONPATH environment variable while registering component.")
-    bzr_path = os.path.dirname(os.path.dirname(mercurial.__file__))
+    hg_path = os.path.dirname(os.path.dirname(mercurial.__file__))
     key = "CLSID\\%s\\PythonCOMPath" % cls._reg_clsid_
     path = _winreg.QueryValue(_winreg.HKEY_CLASSES_ROOT, key)
-    _winreg.SetValue(_winreg.HKEY_CLASSES_ROOT, key, _winreg.REG_SZ, "%s;%s" % (path, bzr_path))
+    _winreg.SetValue(_winreg.HKEY_CLASSES_ROOT, key, _winreg.REG_SZ, "%s;%s" % (path, hg_path))
 
     # Add the appropriate shell extension registry keys
     for category, keyname in cls.registry_keys: 

File tortoise/contextmenu.py

     return '"%s"' % _quotere.sub(r'\1\1\\\2', s)
     return "'%s'" % s.replace("'", "'\\''")
 
-"""Windows shell extension that adds context menu items to Bazaar branches."""
+"""Windows shell extension that adds context menu items to Mercurial repository"""
 class ContextMenuExtension:
     _reg_progid_ = "Mercurial.ShellExtension.ContextMenu"
     _reg_desc_ = "Mercurial Shell Extension"