Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.0, 1.0.1, and 1.0.2

thgmq: prevent to raise IndexError

Changeset 29fb5c1b2416

Parent 20f1c125b307

by Yuki KODAMA

Changes to one file · Browse files at 29fb5c1b2416 Showing diff from parent 20f1c125b307 Diff from another changeset...

 
559
560
561
562
 
 
563
564
565
 
559
560
561
 
562
563
564
565
566
@@ -559,7 +559,8 @@
  return None     def get_qtip_patchname(self): - if self.mqloaded and 'qtip' in self.repo.tags(): + if self.mqloaded and self.get_num_applied() > 0 \ + and 'qtip' in self.repo.tags():   return self.repo.mq.applied[-1].name   return None