view tests/fixtures/pushrenames.sh @ 1585:d6b75cf2c27d

util: add _relativeuipath attribute to PrefixMatch Recently matchers in core introduced a _relativeuipath attribute and started using it. We need to add that to PrefixMatch too. This change is no-op on older versions of mercurial.
author Pulkit Goyal <pulkit@yandex-team.ru>
date Wed, 24 Oct 2018 15:22:59 +0300
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