view tests/fixtures/pushrenames.sh @ 1477:a4f77acf7051

maps: do not open database when initializing sqlite revmap Since every db operation goes through _transaction, which will open the database on demand, it is unnecessary to open the database during __init__.
author Jun Wu <quark@fb.com>
date Thu, 23 Jun 2016 18:57:53 +0100
parents 49b7cbe4c8e3
children
line wrap: on
line source

#!/bin/sh
#
# Generate pushrenames.svndump
#

mkdir temp
cd temp

mkdir project-orig
cd project-orig
mkdir trunk
mkdir branches
cd ..

svnadmin create testrepo
svnurl=file://`pwd`/testrepo
svn import project-orig $svnurl -m "init project"

svn co $svnurl project
cd project/trunk
echo a > a
echo b > b
echo c > c
echo d > d
echo e > e
svn add a b c d e
svn ci -m "add files"
cd ../..

svnadmin dump testrepo > ../pushrenames.svndump