code_junkie

How can I quickly and easily delete all Perforce jobs that are attached to changelists?

Nov 11th, 2011
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. p4 fixes > tmp.txt
  2.  
  3. job005519 fixed by change 3177 on 2007/11/06 by raven@raven1 (closed)
  4. job005552 fixed by change 3320 on 2007/12/11 by raven@raven1 (closed)
  5. job005552 fixed by change 3318 on 2007/12/10 by raven@raven1 (closed)
  6. ...
  7.  
  8. p4 fix -d -c 3177 job005519
  9. p4 fix -d -c 3320 job005552
  10. p4 fix -d -c 3318 job005552
  11. ...
  12.  
  13. p4 jobs > tmp.txt
  14.  
  15. p4 fixes -c <changenum> | p4 -x - job -d
Add Comment
Please, Sign In to add comment