view tests/fixtures/emptyrepo.sh @ 1125:bab98093051b stable

fix promptchoice call, since it changed in mercurial 2.7 (change c58b6ab4c26f)
author Michael Augustin <maugustin@gmx.net>
date Tue, 04 Feb 2014 22:38:54 +0100
parents 6c9b7cf1c5aa
children
line wrap: on
line source

#!/bin/sh
#
# Generate renames.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
# Create and remove a file, hgsubversion does not like
# empty repositories
echo a > a
svn add a
svn ci -m "add a"
svn rm a
svn ci -m "remove a"
cd ../..

svnadmin dump testrepo > ../emptyrepo.svndump