1. TortoiseHg
  2. TortoiseHg
  3. hgtk

Commits

Sune Foldager  committed 2bc572e

thgmq: fix api changes

  • Participants
  • Parent commits 2c2a740
  • Branches hgtk

Comments (0)

Files changed (1)

File tortoisehg/hgtk/thgmq.py

View file
  • Ignore whitespace
 
         # update series
         q = self.repo.mq
-        series = q.full_series[:]
+        series = q.fullseries[:]
         for pos, qpos in zip(dirty, qdirty):
-            q.full_series[qpos] = series[model[pos][MQ_INDEX]]
-        if len(set(q.full_series)) != len(q.full_series):  # found duplicates
+            q.fullseries[qpos] = series[model[pos][MQ_INDEX]]
+        if len(set(q.fullseries)) != len(q.fullseries):  # found duplicates
             raise error.Abort(_('series become inconsistent during reorder'))
-        q.series_dirty = True
-        q.save_dirty()
+        q.seriesdirty = True
+        q.savedirty()
 
         # need to refresh
         self.refresh()
 
     def is_unapplied(self, name):
         if self.mqloaded:
-            return self.repo.mq.find_series(name) is not None and \
+            return self.repo.mq.findseries(name) is not None and \
                    not self.repo.mq.isapplied(name)
         return False