Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

tortoisehg: more descriptive error messages

Changeset 595884d8a262

Parent aec81b47bddb

by Steve Borho

Changes to one file · Browse files at 595884d8a262 Showing diff from parent aec81b47bddb Diff from another changeset...

Change 1 of 3 Show Entire File tortoisehg.py Stacked
 
80
81
82
83
 
84
85
86
 
95
96
97
98
 
99
100
101
 
115
116
117
118
 
119
120
121
 
80
81
82
 
83
84
85
86
 
95
96
97
 
98
99
100
101
 
115
116
117
 
118
119
120
121
@@ -80,7 +80,7 @@
  path = _winreg.QueryValue(_winreg.HKEY_CLASSES_ROOT, key)   _winreg.SetValue(_winreg.HKEY_CLASSES_ROOT, key, _winreg.REG_SZ, "%s;%s" % (path, hg_path))   except Exception, e: - print e + print 'register COM path failed', e     # Add the appropriate shell extension registry keys   for category, keyname, values in cls.registry_keys: @@ -95,7 +95,7 @@
  key = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, apath, 0, _winreg.KEY_WRITE)   _winreg.SetValueEx(key, cls._reg_clsid_, 0, _winreg.REG_SZ, 'TortoiseHg')   except Exception, e: - print e + print 'register to approved list failed', e     print cls._reg_desc_, "registration complete."   @@ -115,7 +115,7 @@
  key = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, apath, 0, _winreg.KEY_WRITE)   _winreg.DeleteValue(key, cls._reg_clsid_)   except Exception, e: - print e + print 'remove from approved list failed', e     print cls._reg_desc_, "unregistration complete."