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

cachethg: do not add empty paths to include/exclude lists

Changeset b08bb73ef980

Parent 40b14d0b9813

by Steve Borho

Changes to one file · Browse files at b08bb73ef980 Showing diff from parent 40b14d0b9813 Diff from another changeset...

 
25
26
27
28
 
 
 
29
30
 
 
 
31
32
33
 
25
26
27
 
28
29
30
31
 
32
33
34
35
36
37
@@ -25,9 +25,13 @@
  excs = QueryValueEx(hkey, 'ExcludePath')[0]   debugging = QueryValueEx(hkey, 'OverlayDebug')[0] in ('1', 'True')   for p in incs.split(';'): - includepaths.append(p.strip()) + path = p.strip() + if path: + includepaths.append(path)   for p in excs.split(';'): - excludepaths.append(p.strip()) + path = p.strip() + if path: + excludepath.append(path)   except EnvironmentError:   pass  except ImportError: