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: make some methods to public

Changeset d7415665d2a4

Parent cb4e28895de5

by Yuki KODAMA

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

Change 1 of 3 Show Entire File hggtk/​thgmq.py Stacked
 
380
381
382
383
384
385
386
387
 
403
404
405
 
 
 
 
 
 
 
406
407
408
 
420
421
422
423
424
425
426
427
428
429
430
 
380
381
382
 
 
383
384
385
 
401
402
403
404
405
406
407
408
409
410
411
412
413
 
425
426
427
 
 
 
 
 
428
429
430
@@ -380,8 +380,6 @@
  cmdline = ['hg', 'qfold', patch]   self.cmd.execute(cmdline, self.cmd_done)   - ### internal functions ### -   def has_patch(self):   """ return True if MQ has applicable patch """   if self.mqloaded: @@ -403,6 +401,13 @@
  return len(repo.mq.series) > 0   return False   + def is_qtip(self, patchname): + if patchname: + return patchname == self.get_qtip_patchname() + return False + + ### internal functions ### +   def get_iter_by_patchname(self, name):   """ return iter has specified patch name """   if name: @@ -420,11 +425,6 @@
  return self.repo.mq.applied[-1].name   return None   - def is_qtip(self, patchname): - if patchname: - return patchname == self.get_qtip_patchname() - return False -   def update_sensitives(self):   """ Update the sensitives of entire UI """   def disable_mqmoves():