Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.9, 0.9.1, and 0.9.1.1

thgmq: set status text empty if queue is empty

Changeset 14aba8c5b16a

Parent f63635957133

by Adrian Buehlmann

Changes to one file · Browse files at 14aba8c5b16a Showing diff from parent f63635957133 Diff from another changeset...

 
264
265
266
267
268
269
 
 
 
270
271
272
 
264
265
266
 
267
 
268
269
270
271
272
273
@@ -264,9 +264,10 @@
  # report status   status_text = ''   if self.has_mq(): - napp = len(self.repo.mq.applied)   nser = len(self.repo.mq.series) - status_text = _('%s of %s Patches applied') % (napp, nser) + if nser: + napp = len(self.repo.mq.applied) + status_text = _('%s of %s Patches applied') % (napp, nser)   self.status_func(status_text)     def qgoto(self, patch):