mirror of
https://github.com/facebook/sapling.git
synced 2024-10-16 11:52:02 +03:00
3cc5c5756c
Summary: Move tests to where we are used to them. Note that I don't move comprehensive tests to the `tests` directory, since I think that having them not run when `./run-tests.py` is run without arguments may be a useful thing. In general, we may adopt this concept for the core as well. If we decide we do want to move them, it's very easy to do. Depends on D6719879 Test Plan: - fixups and test runs follow in the stack Reviewers: #sourcecontrol Differential Revision: https://phabricator.intern.facebook.com/D6719883
52 lines
860 B
Bash
52 lines
860 B
Bash
#!/bin/sh
|
|
|
|
mkdir temp
|
|
cd temp
|
|
|
|
svnadmin create repo
|
|
svn co file://`pwd`/repo wc
|
|
cd wc
|
|
|
|
mkdir -p trunk branches
|
|
svn add trunk branches
|
|
svn ci -m'initial structure'
|
|
cd trunk
|
|
echo a>a
|
|
svn add a
|
|
svn ci -mci1 a
|
|
cd ..
|
|
svn up
|
|
svn cp trunk branches/foo
|
|
svn ci -m'branch foo'
|
|
cd branches/foo
|
|
ln -s a fnord
|
|
svn add fnord
|
|
svn ci -msymlink fnord
|
|
mkdir 'spacy name'
|
|
echo a > 'spacy name/spacy file'
|
|
svn add 'spacy name'
|
|
svn ci -mspacy 'spacy name'
|
|
svn up
|
|
echo b > 'spacy name/surprise ~'
|
|
svn add 'spacy name/surprise ~'
|
|
svn ci -mtilde 'spacy name'
|
|
svn up ../..
|
|
echo foo > exe
|
|
chmod +x exe
|
|
svn add exe
|
|
svn ci -mexecutable exe
|
|
svn up ../..
|
|
cd ../../trunk
|
|
svn merge ../branches/foo
|
|
svn ci -mmerge
|
|
svn up
|
|
|
|
pwd
|
|
cd ../../..
|
|
svnadmin dump temp/repo > addspecial.svndump
|
|
echo
|
|
echo 'Complete.'
|
|
echo 'You probably want to clean up temp now.'
|
|
echo 'Dump in addspecial.svndump'
|
|
exit 0
|