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

nautilus: only invalidate cache when notified within repo

Fixes backtraces from hgtk commands outside repositories.

Changeset 27ed9f9ad55a

Parent 3c9b044556b7

by Steve Borho

Changes to one file · Browse files at 27ed9f9ad55a Showing diff from parent 3c9b044556b7 Diff from another changeset...

 
273
274
275
276
 
 
277
278
279
 
273
274
275
 
276
277
278
279
280
@@ -273,7 +273,8 @@
  return   root = os.path.commonprefix(files)   root = paths.find_root(root) - self.invalidate(files, root) + if root: + self.invalidate(files, root)     def invalidate(self, paths, root = ''):   started = bool(self.inv_dirs)