mirror of
https://github.com/git/git.git
synced 2024-11-16 22:14:53 +01:00
95109f2947
The rewrite-root option seems to be a bit problematic with merge detecting, so it's better to have a merge detecting test with it turned on. Signed-off-by: Tuomas Suutari <tuomas.suutari@gmail.com> Acked-by: Eric Wong <normalperson@yhbt.net>
25 lines
561 B
Bash
Executable file
25 lines
561 B
Bash
Executable file
#!/bin/sh
|
|
#
|
|
# Copyright (c) 2007 Sam Vilain
|
|
#
|
|
|
|
test_description='git-svn svk merge tickets'
|
|
|
|
. ./lib-git-svn.sh
|
|
|
|
test_expect_success 'load svk depot' "
|
|
svnadmin load -q '$rawsvnrepo' \
|
|
< '$TEST_DIRECTORY/t9150/svk-merge.dump' &&
|
|
git svn init --minimize-url -R svkmerge \
|
|
--rewrite-root=http://svn.example.org \
|
|
-T trunk -b branches '$svnrepo' &&
|
|
git svn fetch --all
|
|
"
|
|
|
|
uuid=b48289b2-9c08-4d72-af37-0358a40b9c15
|
|
|
|
test_expect_success 'svk merges were represented coming in' "
|
|
[ `git cat-file commit HEAD | grep parent | wc -l` -eq 2 ]
|
|
"
|
|
|
|
test_done
|