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

thgutil: remove cruft

Changeset c48c554f3e42

Parent 8396e1b42612

by Steve Borho

Changes to one file · Browse files at c48c554f3e42 Showing diff from parent 8396e1b42612 Diff from another changeset...

 
7
8
9
10
11
12
13
14
15
16
17
18
 
19
20
21
 
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
 
162
163
164
165
166
167
168
169
170
 
7
8
9
 
 
 
 
 
 
 
 
 
10
11
12
13
 
44
45
46
 
 
 
 
 
 
 
 
 
47
48
49
 
145
146
147
 
 
 
148
149
150
@@ -7,15 +7,7 @@
   """   -import os.path, re - -_quotere = None -def shellquote(s): - global _quotere - if _quotere is None: - _quotere = re.compile(r'(\\*)("|\\$)') - return '"%s"' % _quotere.sub(r'\1\1\\\2', s) - return "'%s'" % s.replace("'", "'\\''") +import os.path    def find_root(path):   p = os.path.isdir(path) and path or os.path.dirname(path) @@ -52,15 +44,6 @@
  return ppath + ext   return None   - - def shell_notify(path): - pidl, ignore = shell.SHILCreateFromPath(path, 0) - print "notify: ", shell.SHGetPathFromIDList(pidl) - shell.SHChangeNotify(shellcon.SHCNE_UPDATEITEM, - shellcon.SHCNF_IDLIST | shellcon.SHCNF_FLUSHNOWAIT, - pidl, - None) -   def get_icon_path(*args):   dir = get_prog_root()   icon = os.path.join(dir, "icons", *args) @@ -162,9 +145,6 @@
  return ppath   return None   - def shell_notify(path): - pass -   def get_icon_path(*args):   return None