diff options
-rwxr-xr-x | scripts/removeBranches.sh | 18 | ||||
-rw-r--r-- | scripts/removeBranches.txt | 121 |
2 files changed, 139 insertions, 0 deletions
diff --git a/scripts/removeBranches.sh b/scripts/removeBranches.sh new file mode 100755 index 0000000..9b4cfd5 --- /dev/null +++ b/scripts/removeBranches.sh @@ -0,0 +1,18 @@ +#!/bin/bash +# + +if [ $# -lt 1 ]; then +echo "USAGE: $0 <branch_file>" +exit 1 +fi + +BRANCH_LIST="$1" ; shift + +for ORIG_BRANCH in $( cat $BRANCH_LIST ); do + BRANCH=$( echo $ORIG_BRANCH | sed 's![ ]*origin/!!g' ) + TAG=zArchived/$BRANCH + echo git tag $TAG $ORIG_BRANCH + echo git push origin $TAG + echo git push origin :$BRANCH +done + diff --git a/scripts/removeBranches.txt b/scripts/removeBranches.txt new file mode 100644 index 0000000..47fe5b5 --- /dev/null +++ b/scripts/removeBranches.txt @@ -0,0 +1,121 @@ + origin/Bug116920_investigation + origin/Bug172193_investigation + origin/Bug182059_investigation + origin/Bug43657 + origin/Bug_36957 + origin/DS_WORK + origin/EJP-v20020606branch + origin/EJP_KeyBinding + origin/EJP_LazyEditors + origin/EJP_ReuseEditor + origin/EJP_TEMP + origin/EJP_TEMP2 + origin/EJP_Work + origin/EJP_WorkingOn15844 + origin/EJP_resourceTest + origin/EditorCoolBar + origin/Fix14932 + origin/I200403180800_Bug55015 + origin/I200403180800_Bug55174 + origin/I20080311-0800_demo_changes_for_rebuild + origin/I20090803-1500_bug285794 + origin/IntegrationBuild-20011105 + origin/IntegrationBuild-20011105a + origin/KARICE + origin/KLM + origin/KM + origin/Key_Configuration_3_0 + origin/M5 + origin/M5a + origin/M6-branch + origin/M8_3_0 + origin/Multi_Stroke_Assistant_Shell + origin/Nick128_Stream + origin/Patch20011212 + origin/PostSelectionEvent + origin/Post_3_2 + origin/RCP_WORK_1 + origin/RegistryBranch_31 + origin/SA_MOVE_SIZE + origin/Stable20011219 + origin/TC_ENCODING + origin/TC_TOC + origin/TC_TOC2 + origin/TOD + origin/TOD_ACTION + origin/TOD_DEUTSCH + origin/TOD_FONT + origin/TOD_NL_FRAGMENT + origin/TOD_NL_TRANSLATE + origin/TOD_OPTIMIZE + origin/TestEMF + origin/ZTCDecoration + origin/ZTCFormLayoutInvestigation + origin/ZZNick20011129 + origin/ZZNick20011129a + origin/bbokowski_Bug126839 + origin/bbokowski_I20060221-0800_Bug112225 + origin/branch_2004_11_15_adapters + origin/bug325392 + origin/compat_unit_tests + origin/djo_bug_126839 + origin/dpollock_Bug121709 + origin/dpollock_CoolBar_MemoryLeak + origin/dpollock_Doomsday + origin/dpollock_FixingHandlerActivation + origin/dpollock_FixingRetargetHandlers + origin/dpollock_Linkability + origin/dpollock_MenuLayout + origin/dpollock_MenuRendering + origin/dpollock_MenuVisibility + origin/dpollock_RewritingCommandRegistryPreferences + origin/dpollock_Waiting_for_3_2_M4 + origin/e4_popup + origin/eclipse_look_3_0 + origin/general_purpose_navigator + origin/integration + origin/model_tweaking_round3 + origin/patch20031009cmc + origin/rich_client_platform_01 + origin/sbrandys_M6afixes + origin/temporary_2_0_stream + origin/test + origin/test42 + origin/translation_branch + origin/unlabeled-1.1.12 + origin/unlabeled-1.1.6 + origin/unlabeled-1.1.8 + origin/unlabeled-1.14.4 + origin/unlabeled-1.2.16 + origin/unlabeled-1.2.2 + origin/unlabeled-1.2.6 + origin/unlabeled-1.2.8 + origin/unlabeled-1.3.16 + origin/unlabeled-1.3.2 + origin/unlabeled-1.3.4 + origin/unlabeled-1.3.6 + origin/unlabeled-1.3.8 + origin/unlabeled-1.4.2 + origin/unlabeled-1.4.6 + origin/unlabeled-1.4.8 + origin/unlabeled-1.5.10 + origin/unlabeled-1.5.2 + origin/unlabeled-1.5.4 + origin/unlabeled-1.5.6 + origin/unlabeled-1.6.2 + origin/unlabeled-1.6.6 + origin/unlabeled-1.9.2 + origin/v20020509 + origin/v20020509a + origin/v20030701merge + origin/v20090820_e4merge + origin/v33M5a + origin/version3_2_lockdown + origin/working_sets + origin/zBranch_I20071106-0800 + origin/zz20020124 + origin/R1_0_TOD + origin/TARGET_321 + origin/R3_2maintenance + origin/R3_4_mainteance + origin/R3_6_p2_api_cleanup |