Created
October 28, 2008 19:28
-
-
Save cyberfox/20498 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
svn mkdir svn://svn/test_branching svn://svn/test_branching/trunk svn://svn/test_branching/branches -m"Create a test repository for branching." | |
mkdir branch_tmp | |
cd branch_tmp | |
svn co svn://svn/test_branching/trunk test/ | |
cd test | |
echo "This is a test." > testme.txt | |
svn add testme.txt | |
svn commit testme.txt -m"Add a test file." | |
svn cp svn://svn/test_branching/trunk svn://svn/test_branching/branches/new_branch -m"Create a new branch with the test file in it." | |
cd .. | |
svn co svn://svn/test_branching/branches/new_branch new_branch/ | |
cd new_branch | |
echo "This is another test..." >> testme.txt | |
svn commit -m"Modify the test file on the branch." | |
echo "Now go view the commit in Warehouse...it blows up for me." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment