Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0, 2.0.1, and 2.0.2

stable thgrepo: add thgactivemqname property

Changeset de5e842b93aa

Parent e43fdf9e3f00

by Yuya Nishihara

Changes to one file · Browse files at de5e842b93aa Showing diff from parent e43fdf9e3f00 Diff from another changeset...

 
265
266
267
 
 
 
 
 
 
 
 
 
 
 
268
269
270
 
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
@@ -265,6 +265,17 @@
  self.mq.parse_series()   return self.mq.series[:]   + @property + def thgactivemqname(self): + '''Currenty-active qqueue name (see hgext/mq.py:qqueue)''' + if not hasattr(self, 'mq'): + return + n = os.path.basename(self.mq.path) + if n.startswith('patches-'): + return n[8:] + else: + return n +   @propertycache   def _shell(self):   s = self.ui.config('tortoisehg', 'shell')