
#!/bin/sh
#
# Run this script from repository

# Remove branch. It's broken, there's only a repo-copy commit on it.
git-branch -d FIX_VENDOR

echo "ref: refs/heads/MANUAL_DIST" > HEAD
git-reset b1893cc65230aaad9724497e1610da3ba764cfa3

echo "ref: refs/heads/PG95-DIST" > HEAD
git-reset 69b655f481c0696064466bcee8e09c7844aff382

echo "ref: refs/heads/PG95_DIST" > HEAD
git-reset 24a952fe4a27c6c66dc46ee3b2d860755fe063e1

echo "ref: refs/heads/REL6_4" > HEAD
git-reset 350b6848ec07aefa9cde32c9e9f417e0581c13c0

echo "ref: refs/heads/REL6_5_PATCHES" > HEAD
git-reset efebf68e3076d5d3b7943e521fdcc37be4ab806f

echo "ref: refs/heads/REL7_0_PATCHES" > HEAD
git-reset 3b3c0b8f91cd3090b18d06f1ec5798ec2037017a

echo "ref: refs/heads/REL7_1_STABLE" > HEAD
git-reset a2544cbf243aa90a96614faef2e2b75ebaaf9cb4

echo "ref: refs/heads/REL7_2_STABLE" > HEAD
#git-reset bec60add39e91b72db0a8fbabc2a817a17240122 # ok

echo "ref: refs/heads/REL7_3_STABLE" > HEAD
git-reset d95614efb73eab89c97d63fd56c71ba49d8db160

echo "ref: refs/heads/REL7_4_STABLE" > HEAD
git-reset 5a713344694ff83aed82562c2c15171d5570d3db

echo "ref: refs/heads/REL8_0_0" > HEAD
#git-reset 08e0f734f36078fcc60bd16a7b72c9b747d6e21c # ok

echo "ref: refs/heads/REL8_1_STABLE" > HEAD
git-reset b04b113b5877b40caed053a870f6cc20657591d2

echo "ref: refs/heads/REL8_2_STABLE" > HEAD
#git-reset 21fb6cb4f00a89c2b0690679fd6b5fff8d185606 # ok

echo "ref: refs/heads/REL8_3_STABLE" > HEAD
git-reset 625c80600a70ada345fc590ece15b90cc2ae2608

echo "ref: refs/heads/Release_1_0_3" > HEAD
git-reset f8960b8bac8984ca3191f5ce4da89a4602c89921

echo "ref: refs/heads/WIN32_DEV" > HEAD
git-reset eb57729b23f014cf93ebbc4067c0c5e84b10626c

echo "ref: refs/heads/ecpg_big_bison" > HEAD
git-reset e7c9e19104e5f8911aaa99bc35056783ba8b793e

# And finally, master. If this is not the last one, make sure to
# reset HEAD to master after everything is done
echo "ref: refs/heads/master" > HEAD
git-reset a0f8bf0d77db3e254dc8f511106fd9202ad9273f
