Mercurial & PowerShell - Delete files by status

/ Published in: Other
Save to your folder(s)

Inspired by Jagadish and his post [AWK equivalent in Windows Powershell](

Copy this code and paste it in your HTML
  1. hg st | %{ del $_.Split('?')[1].trim(); }

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.