view tests/fixtures/pushrenames.sh @ 1520:fc91ba4ffa52

revset: accept additional arguments The upstream is going to add an `order` argument to `revset.methods` functions. Let's update our code to be compatible with it. [1]: https://phab.mercurial-scm.org/D451
author Jun Wu <quark@fb.com>
date Mon, 28 Aug 2017 10:15:18 -0700
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