Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.1, 2.1.1, and 2.1.2

stable thgrepo: ignore folders in the shelve directory (fixes #832)

Changeset 589ad6cefbd3

Parent 49d1b27ed01a

by Steve Borho

Changes to one file · Browse files at 589ad6cefbd3 Showing diff from parent 49d1b27ed01a Diff from another changeset...

 
470
471
472
473
 
474
 
 
475
476
477
 
470
471
472
 
473
474
475
476
477
478
479
@@ -470,8 +470,10 @@
  if os.path.isdir(sdir):   def getModificationTime(x):   return os.path.getmtime(os.path.join(sdir, x)) - return sorted(os.listdir(sdir), + shelves = sorted(os.listdir(sdir),   key=getModificationTime, reverse=True) + return [s for s in shelves if \ + os.path.isfile(os.path.join(self.shelfdir, s))]   return []     def thginvalidate(self):