Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.7, 0.7.1, and 0.7.2

iconoverlay: properly handle requests for repository root

Changeset 6e70df4f8e9a

Parent 2a06db434f7b

by Steve Borho

Changes to one file · Browse files at 6e70df4f8e9a Showing diff from parent 2a06db434f7b Diff from another changeset...

 
97
98
99
100
 
101
102
103
 
119
120
121
122
 
123
124
125
 
97
98
99
 
100
101
102
103
 
119
120
121
 
122
123
124
125
@@ -97,7 +97,7 @@
  path = upath     # check if path is cached - pdir = os.path.dirname(path) + pdir = os.path.isdir(path) and path or os.path.dirname(path)   if cache_pdir == pdir and overlay_cache:   if tc - cache_tick_count < CACHE_TIMEOUT:   try: @@ -119,7 +119,7 @@
  if cache_pdir == pdir:   root = cache_root   else: - print "find new root from", upath, "was", cache_pdir + print "find new root at", pdir, "Was", cache_pdir   cache_pdir = pdir   cache_root = root = thgutil.find_root(pdir)   print "_get_state: root = ", root