Commits

Dan Villiom Podlaski Christiansen  committed 822733b

add support for skipping certain changesets

  • Participants
  • Parent commits 36354f3

Comments (0)

Files changed (1)

         else:
             p4cmd = 'changes -s submitted -L %s' % p4cset
 
+        skiplist = ui.configlist('perfarce', 'skiprevs')
+
         changes = []
         for d in client.run(p4cmd):
             c = int(d['change'])
-            if startrev or c != p4id:
+            if str(c) not in skiplist and (startrev or c != p4id):
                 changes.append(c)
         changes.sort()