mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +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
38 lines
652 B
Bash
Executable File
38 lines
652 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Generate branchtagcollision.svndump
|
|
#
|
|
# Generates an svn repository with a branch and a tag that have the same name.
|
|
|
|
|
|
mkdir temp
|
|
cd temp
|
|
|
|
svnadmin create testrepo
|
|
svn checkout file://`pwd`/testrepo client
|
|
|
|
cd client
|
|
mkdir trunk
|
|
mkdir branches
|
|
mkdir tags
|
|
|
|
svn add trunk branches tags
|
|
svn commit -m "Initial commit"
|
|
|
|
echo "fileA" >> trunk/fileA
|
|
svn add trunk/fileA
|
|
svn commit -m "Added fileA"
|
|
|
|
svn cp trunk branches/A
|
|
svn commit -m "added branch"
|
|
|
|
echo "fileB" >> trunk/fileB
|
|
svn add trunk/fileB
|
|
svn commit -m "Added fileB"
|
|
|
|
svn cp trunk tags/A
|
|
svn commit -m "added bad tag"
|
|
|
|
cd ..
|
|
svnadmin dump testrepo > ../branchtagcollision.svndump
|