t / t9120-git-svn-clone-with-percent-escapes.shon commit Merge branch 'da/araxis-mergetool' (1bbc820)
   1#!/bin/sh
   2#
   3# Copyright (c) 2008 Kevin Ballard
   4#
   5
   6test_description='git svn clone with percent escapes'
   7. ./lib-git-svn.sh
   8
   9test_expect_success 'setup svnrepo' '
  10        mkdir project project/trunk project/branches project/tags &&
  11        echo foo > project/trunk/foo &&
  12        svn_cmd import -m "$test_description" project "$svnrepo/pr ject" &&
  13        rm -rf project &&
  14        start_httpd
  15'
  16
  17test_expect_success 'test clone with percent escapes' '
  18        git svn clone "$svnrepo/pr%20ject" clone &&
  19        cd clone &&
  20                git rev-parse refs/${remotes_git_svn} &&
  21        cd ..
  22'
  23
  24stop_httpd
  25
  26test_done