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

merge with stable

Changeset 350a863107ff

Parents 20e5bcf14e01

Parents 8c1d05232b74

by Steve Borho

Changes to 2 files · Browse files at 350a863107ff Showing diff from parent 20e5bcf14e01 8c1d05232b74 Diff from another changeset...

Change 1 of 1 Show Entire File .hgtags Stacked
 
16
17
18
 
 
16
17
18
19
@@ -16,3 +16,4 @@
 b42ad74af55054c231fc2d1763c2e8e0f2c0f49e 0.7  a4a7861b92459c4049d09064707d96e54662e506 0.7.1  39d55a62a43e01e3382fe29319cd9ff7ce7626b2 0.7.2 +5215e780e9163cd7f2ce377692d7e719a6e82520 0.7.3
Change 1 of 1 Show Entire File hggtk/​shlib.py Stacked
 
175
176
177
 
178
179
180
 
 
 
 
 
 
 
 
181
182
183
 
175
176
177
178
179
180
 
181
182
183
184
185
186
187
188
189
190
191
@@ -175,9 +175,17 @@
  from win32com.shell import shell, shellcon   except ImportError:   return + dirs = []   for path in paths:   abspath = os.path.abspath(path) - pidl, ignore = shell.SHILCreateFromPath(abspath, 0) + if not os.path.isdir(abspath): + abspath = os.path.dirname(abspath) + if abspath not in dirs: + dirs.append(abspath) + # send notifications to deepest directories first + dirs.sort(lambda x, y: len(y) - len(x)) + for dir in dirs: + pidl, ignore = shell.SHILCreateFromPath(dir, 0)   if pidl is None:   continue   shell.SHChangeNotify(shellcon.SHCNE_UPDATEITEM,