t / t9151-svn-mergeinfo.shon commit Do not use VISUAL editor on dumb terminals (d33738d)
   1#!/bin/sh
   2#
   3# Copyright (c) 2007, 2009 Sam Vilain
   4#
   5
   6test_description='git-svn svn mergeinfo properties'
   7
   8. ./lib-git-svn.sh
   9
  10test_expect_success 'load svn dump' "
  11        svnadmin load -q '$rawsvnrepo' < '../t9151/svn-mergeinfo.dump' &&
  12        git svn init --minimize-url -R svnmerge \
  13          -T trunk -b branches '$svnrepo' &&
  14        git svn fetch --all
  15        "
  16
  17test_expect_success 'svn merges were represented coming in' "
  18        [ `git cat-file commit HEAD | grep parent | wc -l` -eq 2 ]
  19        "
  20
  21test_done