Commits

Iain Lowe  committed 82a4a9a

Changed how 'unapplied' patch collection is calculated to handle guarded patches

  • Participants
  • Parent commits d120253

Comments (0)

Files changed (1)

         
         patches = repo.mq.series
         applied = [p.name for p in repo.mq.applied]
-        unapplied = [p[1] for p in repo.mq.unapplied(repo)]
+        unapplied = filter(lambda x: x not in applied, patches)
         
         if _get_filter('hide_applied', g):
             patches = filter(lambda p: p not in applied, patches)