blob: 24c2421bfc1acd7248fc8094ad76096f12579992 [file] [log] [blame]
Sam Vilainf1264bd2009-10-20 15:42:01 +13001#!/bin/sh
2#
3# Copyright (c) 2007 Sam Vilain
4#
5
6test_description='git-svn svk merge tickets'
7
8. ./lib-git-svn.sh
9
10test_expect_success 'load svk depot' "
Jeff King15c6bf02009-10-30 16:10:17 -040011 svnadmin load -q '$rawsvnrepo' \
12 < '$TEST_DIRECTORY/t9150/svk-merge.dump' &&
Sam Vilainf1264bd2009-10-20 15:42:01 +130013 git svn init --minimize-url -R svkmerge \
Tuomas Suutari95109f22010-02-24 20:09:02 +020014 --rewrite-root=http://svn.example.org \
Sam Vilainf1264bd2009-10-20 15:42:01 +130015 -T trunk -b branches '$svnrepo' &&
16 git svn fetch --all
17 "
18
19uuid=b48289b2-9c08-4d72-af37-0358a40b9c15
20
21test_expect_success 'svk merges were represented coming in' "
Matthew Ogilvie5d59a402009-11-28 11:38:55 -070022 [ `git cat-file commit HEAD | grep parent | wc -l` -eq 2 ]
Sam Vilainf1264bd2009-10-20 15:42:01 +130023 "
24
25test_done