File: t9121-git-svn-fetch-renamed-dir.sh

package info (click to toggle)
git 1:2.20.1-2+deb10u3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 45,676 kB
  • sloc: ansic: 210,769; sh: 180,432; perl: 29,102; tcl: 21,663; python: 6,143; makefile: 3,700; sed: 189; php: 120; asm: 98; csh: 45; ruby: 24; lisp: 12
file content (20 lines) | stat: -rwxr-xr-x 391 bytes parent folder | download | duplicates (20)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
#
# Copyright (c) 2008 Santhosh Kumar Mani


test_description='git svn can fetch renamed directories'

. ./lib-git-svn.sh

test_expect_success 'load repository with renamed directory' '
	svnadmin load -q "$rawsvnrepo" < "$TEST_DIRECTORY"/t9121/renamed-dir.dump
	'

test_expect_success 'init and fetch repository' '
	git svn init "$svnrepo/newname" &&
	git svn fetch
	'

test_done