Added removal of untracked files for switch from sync to default sync
authorKrista 'DarthMama' Bennett <krista@pep.foundation>
Tue, 09 Apr 2019 09:05:49 +0200
branchsync
changeset 34713e68b40d3978
parent 3465 9008577e8f67
child 3474 b8af3a8121c3
Added removal of untracked files for switch from sync to default
clean_sync_leftovers.sh
     1.1 --- a/clean_sync_leftovers.sh	Mon Apr 08 11:13:31 2019 +0200
     1.2 +++ b/clean_sync_leftovers.sh	Tue Apr 09 09:05:49 2019 +0200
     1.3 @@ -4,3 +4,7 @@
     1.4  cd ../asn.1; hg status . | sed '/?\ /!d' | sed 's/?\ //' |  xargs rm
     1.5  cd ../sync; hg status . | sed '/?\ /!d' | sed 's/?\ //' |  xargs rm
     1.6  cd ..
     1.7 +branch=`hg branch`
     1.8 +if [ "$branch" = "sync" ]; then
     1.9 +    rm 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
    1.10 +fi