You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

10 lines
511 B

#!/bin/bash
cd src; hg status . | sed '/?\ /!d' | sed 's/?\ //' | xargs rm
cd ../asn.1; hg status . | sed '/?\ /!d' | sed 's/?\ //' | xargs rm
cd ../sync; hg status . | sed '/?\ /!d' | sed 's/?\ //' | xargs rm
cd ..
branch=`hg branch`
if [ "$branch" = "sync" ]; then
rm -f src/TrustSync_fsm.c src/TrustSync_fsm.h src/KeySync_fsm.c src/KeySync_fsm.h src/Sync_actions.c src/Sync_event.c src/Sync_event.h src/Sync_func.c src/Sync_func.h src/Sync_impl.c src/Sync_impl.h src/sync_codec.c src/sync_codec.h
fi