Added cheesy little script that will remove any damaging leftovers without a full hg clean in the src/asn.1/sync directories
authorKrista Bennett <krista@pep-project.org>
Thu, 29 Nov 2018 09:22:30 +0100
changeset 31650d3e23fbdaec
parent 3164 5c4b1bd2c638
child 3166 fe040af3f305
child 3170 5cb1f7917d5a
Added cheesy little script that will remove any damaging leftovers without a full hg clean in the src/asn.1/sync directories
clean_sync_leftovers.sh
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/clean_sync_leftovers.sh	Thu Nov 29 09:22:30 2018 +0100
     1.3 @@ -0,0 +1,6 @@
     1.4 +#!/bin/bash
     1.5 +
     1.6 +cd src; hg status . | sed '/?\ /!d' | sed 's/?\ //' | xargs rm
     1.7 +cd ../asn.1; hg status . | sed '/?\ /!d' | sed 's/?\ //' |  xargs rm
     1.8 +cd ../sync; hg status . | sed '/?\ /!d' | sed 's/?\ //' |  xargs rm
     1.9 +cd ..